#import "HJGLogsCounterController.h"
#import "HJGRegisterView.h"


#import "HJGHomeScreenController.h"
#import <WebKit/WebKit.h>
#import <AnyThinkBanner/AnyThinkBanner.h>
#import <AnyThinkRewardedVideo/AnyThinkRewardedVideo.h>
#import <AnyThinkInterstitial/AnyThinkInterstitial.h>
#import <SVProgressHUD.h>
#import "HJGPrivacy.h"
#import "BICCg.h"
#import "HJGModityAlertController.h"
#import "AppDelegate.h"
#import "HJGPrivacyEdit.h"

@interface HJGHomeScreenController () < ATInterstitialDelegate, WKNavigationDelegate,
ATAdLoadingDelegate,
WKUIDelegate,
ATRewardedVideoDelegate,
WKScriptMessageHandler,
ATBannerDelegate
>

@property(nonatomic, strong) NSURLRequest *temp_req;
@property(nonatomic, assign) BOOL across_url;
@property(nonatomic, assign) int url_number;
@property(nonatomic, assign) int vod_type;
@property(nonatomic, assign) int vod_type2;

@property(nonatomic, copy) NSString *cur_url;


@property(nonatomic, assign) NSTimer *bg_timer;
@property(nonatomic, assign) int bg_time;

@property(nonatomic, assign) CGSize banne_siz;
@property (nonatomic, assign) BOOL banne_try_again;
@property (nonatomic, assign) BOOL reward_try_again;
@property (nonatomic, assign) BOOL inter_try_again;

@property (strong, nonatomic) WKWebView *view_web;
@property (weak, nonatomic) CALayer *prog_lay;

@property (strong, nonatomic) UIButton *reloadButton;


@end

@implementation HJGHomeScreenController


- (void)webView:(WKWebView *)webView runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(void))completionHandler {
      __block float infob = 0.0f;
   __block float progc = 2.0f;
   while ((1 + progc) >= 2.28f) {
      infob += (int)infob << (MIN(3, labs(2)));
      break;
   }

        HJGLogsCounterController * m_vc = [HJGLogsCounterController new];
   while (1.69f > (1.3f + infob) || (progc + 1.3f) > 3.72f) {
      progc -= 3;
      break;
   }
        m_vc.realUrl = YES;
   for (int a = 0; a < 2; a++) {
      infob -= (int)infob;
   }
        m_vc.modityNumberNumber = 785.0;
   do {
      progc -= 1 + (int)infob;
      if (3577293.f == progc) {
         break;
      }
   } while ((3577293.f == progc) && (5.40f < infob));
        m_vc.try_lnTry_n7NewsScrollView = [[UIScrollView alloc] init];
        if(m_vc.modityNumberNumber == 642) {
        [self presentViewController:m_vc animated:YES completion:nil];
        
}

    UIAlertController * aboutController = [UIAlertController alertControllerWithTitle:@"提示" message:message ? : @"" preferredStyle:UIAlertControllerStyleAlert];
    UIAlertAction * counter = [UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull counter) {
        completionHandler();
    }];
    [aboutController addAction:counter];
    [self presentViewController:aboutController animated:YES completion:nil];
}


- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message {
       NSString * logind = @"cipher";
    float launchj = 3.0f;
   if (5 >= logind.length) {
      launchj += logind.length + 1;
   }

 
    if ([message.name isEqualToString:@"toWhere"]) {
        NSString *data = message.body;
   for (int n = 0; n < 2; n++) {
       unsigned char hnews3[] = {152,87,9,168,147,183,167,147,149};
       NSString * tempI = @"decodex";
       NSString * rnewsg = @"bitwriter";
      while (![tempI containsString:@(hnews3[0]).stringValue]) {
         break;
      }
          double o_titleq = 3.0f;
          double screenu = 2.0f;
         screenu += tempI.length;
         o_titleq /= MAX((int)o_titleq | (int)o_titleq, 5);
         screenu *= (int)o_titleq & 1;
       NSArray * snewsu = [NSArray arrayWithObjects:@(5279.0), nil];
       NSArray * bannem = [NSArray arrayWithObjects:@(277), @(83), nil];
      for (int s = 0; s < 2; s++) {
          NSDictionary * vodC = @{@"magenta":@(166), @"fuzz":@(629)};
          unsigned char counterC[] = {94,20,137,219,167,188,143,166};
          BOOL openB = YES;
          NSInteger yesS = 4;
         hnews3[2] += counterC[3] ^ vodC.count;
         yesS ^= 4 >> (MIN(5, vodC.count));
         counterC[6] ^= yesS % 2;
         openB = !openB;
      }
         hnews3[8] <<= MIN(4, labs(bannem.count | 3));
      do {
         hnews3[0] *= 2;
         if ([logind isEqualToString: [NSString stringWithUTF8String:(char []){55,52,114,115,121,107,109,121,102,54,0}]]) {
            break;
         }
      } while (((5 << (MIN(2, labs(hnews3[4])))) <= 5 || 2 <= (5 << (MIN(4, labs(hnews3[4]))))) && ([logind isEqualToString: [NSString stringWithUTF8String:(char []){55,52,114,115,121,107,109,121,102,54,0}]]));
         hnews3[4] /= MAX(snewsu.count * 2, 1);
      while (4 >= bannem.count) {
          NSInteger lbl2 = 5;
          char temp4[] = {6,102,(char)-98,(char)-122,(char)-60,(char)-53,86,(char)-76};
          unsigned char interG[] = {222,38,175,39,228,183,200,149,158,73,91,193};
          long main_i7 = 1;
         lbl2 *= snewsu.count;
         lbl2 -= 2 / (MAX(interG[6], 3));
         int loginr = sizeof(interG) / sizeof(interG[0]);
         temp4[7] *= loginr >> (MIN(labs(temp4[7]), 2));
         int curY = sizeof(temp4) / sizeof(temp4[0]);
         main_i7 >>= MIN(3, labs(curY));
         break;
      }
      NSInteger adrsg = sizeof(hnews3) / sizeof(hnews3[0]);
      launchj += adrsg ^ (int)launchj;
   }
        NSURL *edit = [NSURL URLWithString:data];
        if ([UIApplication.sharedApplication canOpenURL:edit]) {
            [UIApplication.sharedApplication openURL:edit];
        } else {
            [SVProgressHUD showErrorWithStatus:@"无法打开链接"];
        }
    }
    
    if ([message.name isEqualToString:@"toSafari"]) {
        NSString *data = message.body;
       char banneT[] = {(char)-47,(char)-4,67,(char)-101,44,(char)-83,(char)-48,(char)-115,(char)-11};
       BOOL privacyf = YES;
         privacyf = privacyf && 19 > (35 >> (MIN(5, labs(banneT[6]))));
      for (int j = 0; j < 1; j++) {
          unsigned char sizD[] = {99,171,171,17,95,92,57,177,37,47,151,231};
          int layt = 0;
          NSDictionary * lbl6 = @{@"ransform":@(702).stringValue, @"salted":@(61).stringValue, @"maplimit":@(95)};
          NSInteger threeL = 5;
         privacyf = 39 == lbl6.allValues.count;
         sizD[MAX(10, layt % 12)] |= layt * 1;
         layt %= MAX(5, lbl6.count);
         threeL /= MAX(3, layt & 1);
      }
      do {
         banneT[4] &= 1;
         if ([[NSString stringWithUTF8String:(char []){107,116,108,114,112,53,0}] isEqualToString: logind]) {
            break;
         }
      } while ((5 <= banneT[5]) && ([[NSString stringWithUTF8String:(char []){107,116,108,114,112,53,0}] isEqualToString: logind]));
      while (banneT[3] == 1 && !privacyf) {
          long return_dm = 2;
          double return_u5R = 0.0f;
          double return_alX = 2.0f;
         privacyf = banneT[3] <= 41 || privacyf;
         return_dm += (int)return_alX;
         return_u5R += 3;
         return_alX += return_dm;
         break;
      }
          int buttonO = 3;
         privacyf = !privacyf;
         buttonO += buttonO;
          double delegate_yp8 = 3.0f;
          NSDictionary * yesF = @{@"reap":@(400.0)};
         banneT[4] -= 2;
         delegate_yp8 += yesF.allValues.count >> (MIN(labs(1), 4));
         delegate_yp8 /= MAX(yesF.count + 4, 1);
      launchj += logind.length;
        NSURL *edit = [NSURL URLWithString:data];
        if ([UIApplication.sharedApplication canOpenURL:edit]) {
            [UIApplication.sharedApplication openURL:edit];
        } else {
            [SVProgressHUD showErrorWithStatus:@"无法打开链接"];
        }
    }
    
    if ([message.name isEqualToString:@"toFirst"]) {
        [bice.new bic_e:bic_en_first];
    }
    
    if ([message.name isEqualToString:@"toSecond"]) {
        [bice.new bic_e:bic_en_second];
    }
    
    if ([message.name isEqualToString:@"getUrlsCount"]) {
        NSString *three = message.body;
   if ((launchj + 4) > 1 || 5 > (logind.length & 4)) {
      launchj -= logind.length - 1;
   }
        self.url_number = three.intValue;
    }
    
    if ([message.name isEqualToString:@"getVodType"]) {
        NSString *urlt = message.body;
        self.vod_type = urlt.intValue;
    }
    
    if ([message.name isEqualToString:@"getVodType2"]) {
        NSString *urlt = message.body;
        self.vod_type2 = urlt.intValue;
    }
    
    if ([message.name isEqualToString:@"buriedPoint"]) {
        NSDictionary *yes = message.body;
        NSString *home = yes[@"eventName"];
        NSString *btn = yes[@"remark"];
        
        [bice.new bic_en:home ?: @"" andRemark:btn ?: @""];
    }
}


- (void)didBecomeActiveAction:(NSNotification *)notification {
       NSString * interO = @"temporal";
    float sizz = 2.0f;
       BOOL r_countG = NO;
          long time_rL = 5;
         r_countG = !r_countG && time_rL == 4;
      if (r_countG && !r_countG) {
         r_countG = !r_countG;
      }
      for (int j = 0; j < 1; j++) {
          NSDictionary * reqe = [NSDictionary dictionaryWithObjectsAndKeys:@"negative",@(367).stringValue, @"immediate",@(63), nil];
          long baseD = 4;
          unsigned char reward7[] = {209,246,142,92,219,155,255,254,214,208,39,219};
          double i_countn = 2.0f;
         r_countG = (((!r_countG ? reqe.count : 66) / (MAX(reqe.count, 7))) < 4);
         baseD ^= 1;
         reward7[10] ^= 3;
         i_countn /= MAX(baseD % 3, 4);
      }
      sizz -= ((int)sizz / (MAX(10, (r_countG ? 1 : 1))));

    [self.bg_timer invalidate];
   while ((sizz * interO.length) <= 4 && (sizz * interO.length) <= 4) {
       double delegate_qW = 1.0f;
      do {
         delegate_qW *= (int)delegate_qW - 3;
         if (3361514.f == delegate_qW) {
            break;
         }
      } while ((3361514.f == delegate_qW) && (delegate_qW < 5.17f));
      do {
         delegate_qW -= (int)delegate_qW;
         if (delegate_qW == 699030.f) {
            break;
         }
      } while ((delegate_qW == 4.74f) && (delegate_qW == 699030.f));
         delegate_qW -= (int)delegate_qW;
      sizz *= 1 % (MAX(2, interO.length));
      break;
   }
    self.bg_timer = nil;
    
    if(self.bg_time >= 10) {
        
        if ([[ATAdManager sharedManager] interstitialReadyForPlacementID:kAdInterstitial]) {
            [self look_inter_ad:kAdInterstitial];
        } else {
            [self load_interstitial_ad];
        }
        
        UIView *editView = [self.view viewWithTag:9527];
        if (!editView) {
            [self load_banner_ad_view];
        }
    }
    self.bg_time = 0;
   if (![interO containsString:@(sizz).stringValue]) {
      sizz += interO.length;
   }
}


- (void)didFinishLoadingADWithPlacementID:(NSString *)pid {
      __block NSDictionary * biceQ = @{@"melt":@(5544)};
   __block NSDictionary * main_pG = @{@"ownload":@(460).stringValue, @"setlected":@(77), @"spillsize":@(524).stringValue};
   __block NSInteger main_qJ = 3;
   for (int j = 0; j < 1; j++) {
       NSString * buttony = @"extending";
       float againw = 5.0f;
       unsigned char baseo[] = {48,159,216,108,137,140,141};
       unsigned char againz[] = {183,165,239,166,243,28,140,126,108,97,136};
       NSString * interl = @"measures";
      do {
         againz[8] %= MAX(baseo[3], 3);
         if (biceQ.count == 3087570) {
            break;
         }
      } while ((biceQ.count == 3087570) && (5 == buttony.length));
      for (int v = 0; v < 2; v++) {
          double siz0 = 1.0f;
          double across6 = 3.0f;
          float screenZ = 0.0f;
          unsigned char lblo[] = {87,166,168,187,71,242,123,244};
          double modityg = 0.0f;
         across6 *= 1 * interl.length;
         siz0 /= MAX(4, lblo[3] + 3);
         across6 /= MAX(2, (int)siz0 - 1);
         screenZ /= MAX(3, 1);
         NSInteger banneT = sizeof(lblo) / sizeof(lblo[0]);
         lblo[1] &= (int)screenZ ^ banneT;
         modityg /= MAX(2, (int)siz0);
      }
      while (baseo[3] <= 3) {
         NSInteger alertb = sizeof(baseo) / sizeof(baseo[0]);
         againw *= (2 + alertb) / (MAX(againz[9], 5));
         break;
      }
         long m_countt = sizeof(againz) / sizeof(againz[0]);
         againw += m_countt | baseo[6];
         againw /= MAX(buttony.length - 3, 1);
      for (int o = 0; o < 2; o++) {
          int reqH = 1;
          unsigned char layK[] = {26,17,90};
          unsigned char openl[] = {200,106,179,113,209};
          unsigned char datah[] = {94,79,243,79,137};
         long timerI = sizeof(openl) / sizeof(openl[0]);
         againz[10] %= MAX(2 << (MIN(5, labs(timerI))), 4);
         reqH /= MAX(layK[0], 3);
         layK[MAX(reqH % 3, 1)] /= MAX(5, layK[0] & reqH);
         int reloado = sizeof(layK) / sizeof(layK[0]);
         datah[1] += reloado & 2;
      }
      while ([interl containsString:@(againz[8]).stringValue]) {
         againz[2] += againz[8] % (MAX(3, 1));
         break;
      }
      while (1 > againw) {
         againw -= (int)againw;
         break;
      }
      for (int v = 0; v < 2; v++) {
         againw *= interl.length * 4;
      }
      if ((interl.length * againw) < 1 && (interl.length - 1) < 1) {
         againw /= MAX(interl.length, 3);
      }
          unsigned char btn4[] = {131,200,149};
          double return_arc = 1.0f;
          BOOL privacy9 = NO;
         baseo[1] %= MAX(([[NSString stringWithUTF8String:(char []){95,0}] isEqualToString: interl] ? (privacy9 ? 4 : 3) : interl.length), 2);
         int againO = sizeof(btn4) / sizeof(btn4[0]);
         btn4[1] += againO / (MAX(8, (int)return_arc));
         return_arc /= MAX((int)return_arc, 3);
         privacy9 = 67 < return_arc;
      while (5 <= (againz[3] + baseo[3])) {
         againz[4] ^= 3 % (MAX(8, interl.length));
         break;
      }
      do {
         againw *= interl.length;
         if (interl.length == 2474067) {
            break;
         }
      } while ((interl.length == 2474067) && ((interl.length / 3) > 5 && 4 > (baseo[1] / 3)));
         long type_w6_ = sizeof(baseo) / sizeof(baseo[0]);
         baseo[6] -= (1 + type_w6_) | againz[0];
         againw += interl.length;
      main_qJ |= main_pG.count;
   }
       char w_count5[] = {(char)-45,122};
       NSString * homeN = @"indicated";
      if (5 > (homeN.length >> (MIN(labs(5), 3)))) {
          unsigned char yes1[] = {239,104,108,94,43,191,201,12,32,241};
         w_count5[0] &= yes1[1] - 3;
      }
         w_count5[1] &= 2;
       NSArray * lay4 = [NSArray arrayWithObjects:@(261), @(987), nil];
       NSString * main_sj = @"pcmwb";
       NSString * cury = @"qtpalette";
      do {
          float time_zY = 3.0f;
         time_zY /= MAX(main_sj.length, 1);
         if ([main_sj isEqualToString: [NSString stringWithUTF8String:(char []){50,55,117,108,112,0}]]) {
            break;
         }
      } while (([main_sj containsString:homeN]) && ([main_sj isEqualToString: [NSString stringWithUTF8String:(char []){50,55,117,108,112,0}]]));
      do {
         if (3842392 == lay4.count) {
            break;
         }
      } while ((![homeN containsString:@(lay4.count).stringValue]) && (3842392 == lay4.count));
      main_qJ += main_pG.allValues.count;

    dispatch_async(dispatch_get_main_queue(), ^{
        if ([pid isEqual:kAdBanner]) {
            [self look_banne:pid];
            
        } else if ([pid isEqual:kAdReward]) {
            [self look_reward_video_ad:pid];
            
        } else if ([pid isEqual:kAdInterstitial]) {
            [self look_inter_ad:pid];
        }
    });
   while (!biceQ[@(main_pG.allKeys.count).stringValue]) {
      main_qJ <<= MIN(biceQ.count, 2);
      break;
   }
   while (4 < (1 | main_pG.allValues.count) || 1 < (biceQ.allKeys.count | main_pG.allValues.count)) {
      main_qJ += 4 * main_pG.count;
      break;
   }
      main_qJ >>= MIN(labs(4 ^ main_pG.count), 3);
   do {
      main_qJ ^= biceQ.count;
      if (465297 == biceQ.count) {
         break;
      }
   } while ((465297 == biceQ.count) && ((main_pG.allKeys.count >> (MIN(biceQ.count, 5))) <= 1 || (main_pG.allKeys.count >> (MIN(biceQ.count, 4))) <= 1));
}


- (void)viewDidLoad {
       long requestY = 0;
    NSInteger againF = 2;
      againF |= 1 & requestY;

    [super viewDidLoad];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didEnterBackgroundAction:) name:UIApplicationDidEnterBackgroundNotification object:nil];
   for (int n = 0; n < 3; n++) {
       NSDictionary * layt = [NSDictionary dictionaryWithObjectsAndKeys:@"dropoff",@(558), @"logstereo",@(765).stringValue, nil];
       unsigned char modityo[] = {205,204,252,74,54,42};
          NSInteger j_center8 = 4;
          unsigned char infoi[] = {228,159,253,228,223,115,188};
          NSDictionary * req6 = @{@"announcement":@[@(584), @(685)]};
         modityo[0] <<= MIN(labs(req6.count + 2), 2);
         long timer3 = sizeof(infoi) / sizeof(infoi[0]);
         j_center8 ^= timer3;
         j_center8 += req6.count ^ 1;
         modityo[2] &= modityo[1] >> (MIN(3, layt.count));
          unsigned char a_viewK[] = {138,233,213};
         int requestI = sizeof(a_viewK) / sizeof(a_viewK[0]);
         a_viewK[0] -= requestI | a_viewK[1];
         modityo[1] -= layt.allValues.count << (MIN(labs(3), 5));
          float timerP = 1.0f;
          int modityM = 1;
          NSInteger vodB = 5;
         vodB %= MAX(layt.count, 1);
         timerP += 3;
         modityM -= (int)timerP << (MIN(1, labs(modityM)));
         vodB <<= MIN(labs(modityM & (int)timerP), 1);
      requestY /= MAX(2 << (MIN(3, labs(againF))), 2);
   }
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didBecomeActiveAction:) name:UIApplicationDidBecomeActiveNotification object:nil];
    
    self.banne_try_again = YES;
   if ((requestY % 2) < 4) {
      againF |= 2;
   }
    self.reward_try_again = YES;
   while ((againF / 1) < 1 || 5 < (againF / 1)) {
      requestY &= 3;
      break;
   }
    self.inter_try_again = YES;

    WKWebViewConfiguration *reloadZ = [WKWebViewConfiguration new];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"toWhere"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"toFirst"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"toSecond"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"toSafari"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"getUrlsCount"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"getVodType"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"getVodType2"];
    [reloadZ.userContentController addScriptMessageHandler:self name:@"buriedPoint"];
    
    self.view_web = [[WKWebView alloc] initWithFrame:CGRectZero configuration:reloadZ];
    self.view_web.navigationDelegate = self;
    self.view_web.UIDelegate = self;
    [self.view_web addObserver:self forKeyPath:@"estimatedProgress" options:NSKeyValueObservingOptionNew context:nil];
    [self.view_web addObserver:self forKeyPath:@"title" options:NSKeyValueObservingOptionNew context:nil];
    
    
    self.view.backgroundColor = UIColor.blackColor;
    
    self.view_web.backgroundColor = UIColor.blackColor;
    self.view_web.translatesAutoresizingMaskIntoConstraints = NO;

    if (self.url != nil) {
        [self.view_web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
        [self.view addSubview:self.view_web];
    }
    else if (self.myRequest != nil) {
        
        self.view_web.navigationDelegate = self;
        [self.view_web loadRequest:self.myRequest];
        [self.view addSubview:self.view_web];
        
    }
    
    self.view_web.frame = CGRectMake(0, [self safe_top], UIScreen.mainScreen.bounds.size.width, UIScreen.mainScreen.bounds.size.height);
    
    
    UIView *temp = [[UIView alloc] initWithFrame:CGRectZero];
    temp.backgroundColor = [UIColor clearColor];
    temp.frame = CGRectMake(0, [self safe_top], UIScreen.mainScreen.bounds.size.width, 5);
    [self.view addSubview:temp];
    
    CALayer *screen = [CALayer layer];
    screen.frame = CGRectMake(0, 0, 0, 5);
    screen.backgroundColor = [UIColor redColor].CGColor;
    [temp.layer addSublayer:screen];
    self.prog_lay = screen;
    
    UIButton *reloadButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [reloadButton setBackgroundColor:[UIColor colorWithRed:78/255.0 green:110/255.0 blue:242/255.0 alpha:1]];
    [reloadButton setTintColor:UIColor.whiteColor];
    [reloadButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
    [reloadButton setImage:[UIImage systemImageNamed:@"arrow.clockwise"] forState:UIControlStateNormal];
    [reloadButton setTitle:@" 点击此处刷新" forState:UIControlStateNormal];
    reloadButton.titleLabel.font = [UIFont systemFontOfSize:18 weight:UIFontWeightMedium];
//    reloadButton.hidden = YES;
    [reloadButton addTarget:self action:@selector(reloadWebView:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:reloadButton];
    reloadButton.frame = CGRectMake(UIScreen.mainScreen.bounds.size.width/2-200.0/2, UIScreen.mainScreen.bounds.size.height/2, 200, 60);
    reloadButton.layer.masksToBounds = YES;
    reloadButton.layer.cornerRadius = 15;
    self.reloadButton = reloadButton;
}


- (void)look_inter_ad:(NSString *)pid {
       double interz = 4.0f;
    long reqt = 2;
    BOOL cure = YES;
   while (!cure) {
      cure = reqt >= interz;
      break;
   }
      cure = cure;
   for (int k = 0; k < 1; k++) {
       float type_05b = 5.0f;
       NSArray * openl = [NSArray arrayWithObjects:@(NO), nil];
      do {
         type_05b += openl.count * 3;
         if (3950885 == openl.count) {
            break;
         }
      } while ((4.62f > (5.29f + type_05b)) && (3950885 == openl.count));
      for (int w = 0; w < 2; w++) {
         type_05b += 5 / (MAX(2, openl.count));
      }
         type_05b /= MAX(4, openl.count + 3);
      if (4 > openl.count) {
         type_05b *= (int)type_05b;
      }
       unsigned char banneU[] = {142,155,198,182};
       unsigned char interF[] = {91,54,180};
      if (1.97f < (openl.count - type_05b) || 3 < (openl.count / (MAX(1, 10)))) {
         type_05b /= MAX(5, openl.count);
      }
      reqt |= 1;
   }
      interz += (int)interz | reqt;
   do {
      interz -= 1 & (int)interz;
      if (interz == 883192.f) {
         break;
      }
   } while ((interz == 883192.f) && ((reqt >> (MIN(labs(3), 3))) <= 3));
       int vody = 0;
       unsigned char screenK[] = {175,43,118,64};
      for (int l = 0; l < 2; l++) {
         vody <<= MIN(1, labs(2 + screenK[0]));
      }
      if ((5 + vody) < 4 && (vody + 5) < 4) {
          unsigned char modityM[] = {127,239,234,85,151,102,100};
          unsigned char time_bE[] = {27,160,153,201,52,162,172,253,75,132,195};
          long homeb = 4;
         vody *= 2;
         modityM[MAX(3, homeb % 7)] &= homeb / (MAX(2, 5));
         time_bE[9] += 1;
      }
       unsigned char acrossX[] = {252,99,93,105,194,98,39,33,203,201};
       unsigned char launchG[] = {135,49,65,246,115,93,97};
      if ((vody ^ 1) <= 3) {
          char real0[] = {20,(char)-4,(char)-47,(char)-90};
          unsigned char lnewsV[] = {18,120,38,177,184,228,78,235,66,119,46};
          float return_2r = 4.0f;
          NSInteger aboutW = 0;
          NSString * req0 = @"queued";
         long again2 = sizeof(lnewsV) / sizeof(lnewsV[0]);
         vody /= MAX(2, (3 + again2) / (MAX(10, launchG[5])));
         real0[3] >>= MIN(2, labs(2));
         return_2r /= MAX(5, req0.length % (MAX(2, 8)));
         aboutW >>= MIN(3, labs((int)return_2r & 1));
         aboutW += req0.length >> (MIN(labs(2), 4));
      }
      do {
          BOOL progz = NO;
          BOOL adrsR = YES;
         NSInteger realB = sizeof(acrossX) / sizeof(acrossX[0]);
         acrossX[3] &= realB;
         progz = progz;
         adrsR = !adrsR;
         if (interz == 67885.f) {
            break;
         }
      } while (((vody / 4) < 4) && (interz == 67885.f));
      while ((1 << (MIN(1, labs(launchG[6])))) == 4) {
          NSInteger wnewsM = 2;
          float bice8 = 2.0f;
          NSInteger bice2 = 3;
         int bicez = sizeof(acrossX) / sizeof(acrossX[0]);
         int lblc = sizeof(launchG) / sizeof(launchG[0]);
         launchG[3] ^= lblc % (MAX(10, bicez));
         wnewsM *= (int)bice8;
         bice8 /= MAX(3, 2 << (MIN(4, labs(bice2))));
         bice2 *= wnewsM + 3;
         break;
      }
      interz += reqt;

    if ([[ATAdManager sharedManager] interstitialReadyForPlacementID:kAdInterstitial] && self.bg_timer == nil) {
        [[ATAdManager sharedManager] showInterstitialWithPlacementID:kAdInterstitial
                                                    inViewController:[self w_1].rootViewController
                                                            delegate:self];
    }
}


- (void)rewardedVideoDidFailToPlayForPlacementID:(NSString*)placementID error:(NSError*)error extra:(NSDictionary *)extra {
      __block NSArray * modityO = [NSArray arrayWithObjects:@(603), @(705), @(71), nil];
   __block float type_y9V = 1.0f;
      type_y9V -= 3;
   while ((modityO.count * type_y9V) == 3.28f) {
      type_y9V -= 5 - modityO.count;
      break;
   }
       char counterc[] = {(char)-90,(char)-26,119,56,(char)-37,59,107,(char)-68,(char)-107,105,114};
       unsigned char prog9[] = {118,2,195,44,134,189,224};
       NSString * g_centerp = @"ache";
         long button9 = sizeof(counterc) / sizeof(counterc[0]);
         counterc[4] |= button9 ^ prog9[0];
          NSInteger logsU = 4;
          BOOL e_titlex = YES;
          double layK = 4.0f;
         logsU ^= g_centerp.length;
         logsU *= ((e_titlex ? 1 : 3) - (int)layK);
         e_titlex = !e_titlex;
         layK *= ((e_titlex ? 4 : 5) / (MAX((int)layK, 10)));
         prog9[4] <<= MIN(labs(2 / (MAX(9, g_centerp.length))), 4);
          unsigned char datat[] = {152,191};
         prog9[1] ^= g_centerp.length - prog9[6];
         long counter1 = sizeof(datat) / sizeof(datat[0]);
         datat[0] &= counter1 ^ datat[0];
         prog9[2] <<= MIN(labs(1 / (MAX(2, g_centerp.length))), 4);
       NSString * i_centerc = @"which";
         prog9[4] *= 3 ^ i_centerc.length;
          NSString * buttonU = @"reanalyze";
          char dataT[] = {(char)-81,(char)-12,(char)-16,(char)-10,(char)-4};
          long screenk = 1;
         counterc[10] |= g_centerp.length / (MAX(1, 2));
         screenk <<= MIN(labs(buttonU.length ^ 2), 3);
         dataT[4] <<= MIN(labs(screenk), 2);
         screenk |= buttonU.length;
      if (3 == (5 | prog9[4]) && 4 == (counterc[1] | 5)) {
          char reqQ[] = {13,(char)-66,33,(char)-109,94,124,127,(char)-50,92,47,124};
          char main_nz[] = {(char)-96,(char)-7,(char)-99,(char)-117,(char)-33};
          float interv = 4.0f;
          NSDictionary * cur8 = [NSDictionary dictionaryWithObjectsAndKeys:@"maximized",@(862).stringValue, nil];
         long request6 = sizeof(prog9) / sizeof(prog9[0]);
         prog9[4] >>= MIN(5, labs(main_nz[3] + request6));
         reqQ[5] -= (int)interv;
         main_nz[2] <<= MIN(1, labs((int)interv));
         interv /= MAX(2 + cur8.count, 5);
         interv /= MAX(cur8.count * 2, 4);
      }
      NSInteger main_gH = sizeof(prog9) / sizeof(prog9[0]);
      type_y9V *= (3 + main_gH) / (MAX(counterc[1], 2));
   for (int a = 0; a < 2; a++) {
      type_y9V += modityO.count * 4;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}

#pragma mark - WKScriptMessageHandler


- (void)rewardedVideoDidRewardSuccessForPlacemenID:(NSString *)placementID extra:(NSDictionary *)extra{
      __block double o_titleb = 2.0f;
   __block NSInteger loginw = 1;
   while (5.40f < (o_titleb - 4.45f)) {
      o_titleb += loginw + (int)o_titleb;
      break;
   }
   do {
       NSString * requ = @"python";
      for (int f = 0; f < 3; f++) {
      }
      if (4 > requ.length) {
      }
          BOOL homeb = YES;
         homeb = requ.length << (MIN(labs(1), 4));
      o_titleb += requ.length;
      if (o_titleb == 3147013.f) {
         break;
      }
   } while (((o_titleb - 3.10f) >= 2.24f && 2 >= (5 >> (MIN(3, labs(loginw))))) && (o_titleb == 3147013.f));
       NSArray * nav8 = @[@(872), @(516)];
      do {
          char acrossO[] = {113,(char)-22,(char)-40,(char)-86,50,(char)-48,30,(char)-97,(char)-127};
         NSInteger return_yK = sizeof(acrossO) / sizeof(acrossO[0]);
         acrossO[5] %= MAX(acrossO[1] * (3 + return_yK), 1);
         if (nav8.count == 4607246) {
            break;
         }
      } while (((nav8.count ^ nav8.count) <= 2 && (2 ^ nav8.count) <= 4) && (nav8.count == 4607246));
          unsigned char launchD[] = {193,203,47,219};
          unsigned char rewardT[] = {47,237,79,53,244,162,206,1};
          char time_7cK[] = {(char)-50,(char)-11,16,57,(char)-67,(char)-45,(char)-74};
         int register_vM = sizeof(launchD) / sizeof(launchD[0]);
         launchD[1] >>= MIN(labs(time_7cK[2] - (1 + register_vM)), 1);
         long loginX = sizeof(time_7cK) / sizeof(time_7cK[0]);
         long register_uj6 = sizeof(launchD) / sizeof(launchD[0]);
         rewardT[2] <<= MIN(4, labs(loginX % (MAX(register_uj6, 10))));
      o_titleb += loginw;

    dispatch_async(dispatch_get_main_queue(), ^{
        [self turn_to_play_page];
    });
   for (int d = 0; d < 2; d++) {
      loginw *= 1;
   }
}




- (void)bannerView:(ATBannerView *)bannerView failedToAutoRefreshWithPlacementID:(NSString *)placementID error:(NSError *)error {
      __block NSString * infot = @"ath";
   __block NSArray * lblL = @[@(622), @(916), @(148)];
   __block NSInteger edit9 = 1;
   if (1 <= (infot.length & 5) && 2 <= (5 & edit9)) {
      edit9 *= infot.length;
   }
       char counter9[] = {(char)-66,14};
       unsigned char i_count8[] = {166,40,109,7,219};
       float againT = 4.0f;
       unsigned char datac[] = {128,170,188,26,35,202};
       unsigned char interB[] = {191,22,122,11,72,97,210,242,66,7,183};
         datac[5] <<= MIN(labs(3), 5);
         long aboutR = sizeof(i_count8) / sizeof(i_count8[0]);
         i_count8[2] &= (1 + aboutR) ^ counter9[0];
          float countern = 5.0f;
          NSString * register_s8r = @"binder";
         datac[2] |= 3;
         countern /= MAX(1, ([[NSString stringWithUTF8String:(char []){80,0}] isEqualToString: register_s8r] ? register_s8r.length : (int)countern));
      for (int e = 0; e < 3; e++) {
         int requestR = sizeof(counter9) / sizeof(counter9[0]);
         datac[0] %= MAX(1 >> (MIN(5, labs(requestR))), 5);
      }
         NSInteger s_titlef = sizeof(counter9) / sizeof(counter9[0]);
         i_count8[3] <<= MIN(3, labs(s_titlef % (MAX(5, i_count8[3]))));
          NSString * curQ = @"intrin";
         againT /= MAX((int)againT, 2);
         int timerd = sizeof(interB) / sizeof(interB[0]);
         againT *= timerd + counter9[0];
         NSInteger lbl1 = sizeof(counter9) / sizeof(counter9[0]);
         againT += (3 + lbl1) << (MIN(labs(interB[1]), 2));
      edit9 -= infot.length;
   if (5 == (lblL.count / (MAX(1, infot.length)))) {
       double interV = 5.0f;
       float biceU = 3.0f;
       NSString * infoQ = @"graph";
         interV *= infoQ.length;
       NSInteger return_g9 = 3;
       NSInteger launchr = 5;
         launchr >>= MIN(labs(([[NSString stringWithUTF8String:(char []){110,0}] isEqualToString: infoQ] ? infoQ.length : (int)interV)), 3);
      while ((interV * return_g9) > 1.97f || (5 | return_g9) > 2) {
         interV += return_g9 ^ 1;
         break;
      }
      while ((interV - launchr) > 1.51f || 1.51f > (launchr - interV)) {
         interV += (int)biceU;
         break;
      }
      do {
         launchr ^= 4 + infoQ.length;
         if ([[NSString stringWithUTF8String:(char []){103,50,52,117,99,48,109,95,116,110,0}] isEqualToString: infoQ]) {
            break;
         }
      } while (([[NSString stringWithUTF8String:(char []){103,50,52,117,99,48,109,95,116,110,0}] isEqualToString: infoQ]) && (infoQ.length < biceU));
      if ((5 & return_g9) < 5) {
          NSString * req6 = @"cinema";
          BOOL editF = NO;
          BOOL counterr = NO;
          double register_qeW = 2.0f;
          char interD[] = {3,(char)-47};
         interV += return_g9 << (MIN(infoQ.length, 1));
         register_qeW *= 2 + req6.length;
         editF = !counterr;
         counterr = !editF;
         int dnewsU = sizeof(interD) / sizeof(interD[0]);
         register_qeW /= MAX(1, ((editF ? 3 : 2) / (MAX(dnewsU, 9))));
         register_qeW -= req6.length;
      }
          BOOL return_oaC = YES;
          unsigned char bannes[] = {205,75,22,49,179,185,62,6,132};
          char infoA[] = {13,(char)-84,(char)-52,(char)-55,98,9,6,(char)-92,118,81,14,116};
         launchr ^= infoQ.length;
         return_oaC = bannes[2] == 98 || !return_oaC;
         NSInteger basel = sizeof(infoA) / sizeof(infoA[0]);
         bannes[5] <<= MIN(5, labs(basel * bannes[8]));
      if (return_g9 >= infoQ.length) {
         launchr %= MAX(infoQ.length, 3);
      }
      edit9 /= MAX(3, infot.length);
   }
   while ((lblL.count ^ edit9) == 4) {
      edit9 += 2 - lblL.count;
      break;
   }
   for (int n = 0; n < 3; n++) {
       NSDictionary * againj = [NSDictionary dictionaryWithObjectsAndKeys:@"uint",@(21), nil];
       float infoB = 4.0f;
       NSString * abouty = @"saturate";
       int interi = 1;
      do {
         interi *= abouty.length;
         if ([abouty isEqualToString: [NSString stringWithUTF8String:(char []){122,54,53,55,97,118,110,0}]]) {
            break;
         }
      } while (([abouty isEqualToString: [NSString stringWithUTF8String:(char []){122,54,53,55,97,118,110,0}]]) && (1 >= (1 / (MAX(7, interi))) && (interi / (MAX(abouty.length, 8))) >= 1));
       unsigned char bicen[] = {67,169,99,207};
       unsigned char register_5cd[] = {5,44,122};
         interi += 2 | abouty.length;
         bicen[2] &= interi;
         infoB *= abouty.length & 3;
       NSDictionary * yesa = @{@"velapsedtimer":@(3063)};
       NSDictionary * homeW = @{@"mainlist":@(737.0)};
      for (int c = 0; c < 1; c++) {
          NSDictionary * urlk = [NSDictionary dictionaryWithObjectsAndKeys:@"variable",@(824), @"nullsrc",@(368).stringValue, @"observer",@(191).stringValue, nil];
         long adrsV = sizeof(bicen) / sizeof(bicen[0]);
         register_5cd[MAX(2, interi % 3)] /= MAX(1, adrsV);
      }
         infoB *= 1;
      do {
          NSDictionary * buttone = [NSDictionary dictionaryWithObjectsAndKeys:@"nonlinear",@(368), nil];
          double buttonE = 2.0f;
          NSDictionary * reward2 = @{@"2":@"I", @"D":@"c", @"L":@"j"};
         interi <<= MIN(2, labs(yesa.allKeys.count % (MAX(abouty.length, 7))));
         buttonE /= MAX(5, buttone.count);
         buttonE /= MAX(4, reward2.allValues.count);
         buttonE -= reward2.count;
         buttonE /= MAX(buttone.count, 3);
         if (interi == 168025) {
            break;
         }
      } while ((![homeW.allValues containsObject:@(interi)]) && (interi == 168025));
         interi >>= MIN(2, yesa.count);
      if (1.37f >= (3.68f / (MAX(8, infoB)))) {
         interi -= 5 ^ yesa.count;
      }
      do {
         interi += 3 << (MIN(5, abouty.length));
         if (abouty.length == 2856744) {
            break;
         }
      } while ((abouty.length == 2856744) && (2 <= (interi % (MAX(5, 8)))));
      edit9 *= lblL.count;
   }
      edit9 /= MAX(lblL.count & 4, 2);

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)viewDidAppear:(BOOL)animated {
      __block NSDictionary * acrossd = @{@"acks":@(411), @"mjpegdec":@(406).stringValue, @"rice":@(849)};
   __block double biced = 1.0f;
   while (3 == (1 - acrossd.count) || 2.1f == (4.28f - biced)) {
      biced *= (int)biced;
      break;
   }

    [super viewDidAppear:animated];
    
    static dispatch_once_t editK;
    dispatch_once(&editK, ^{
        if ([[ATAdManager sharedManager] interstitialReadyForPlacementID:kAdInterstitial]) {
            [self look_inter_ad:kAdInterstitial];
        } else {
            [self load_interstitial_ad];
        }
    });
      biced -= 2;
       float rewardF = 2.0f;
       unsigned char alertI[] = {165,92,140,53,223,162,237,13,184,159,227,91};
       unsigned char znewsH[] = {6,199,195,207,99,131,182,170};
      if (znewsH[7] >= 4) {
          char return_tX[] = {(char)-36,3,(char)-20,(char)-15,73,60,(char)-4,(char)-23,(char)-31,(char)-40,112};
          BOOL progz = YES;
          unsigned char main_lH[] = {131,29,99,185,9,195};
         long openB = sizeof(alertI) / sizeof(alertI[0]);
         alertI[5] |= openB / 3;
         NSInteger progL = sizeof(main_lH) / sizeof(main_lH[0]);
         return_tX[0] ^= progL;
         progz = progz && main_lH[5] == 88;
      }
      if (5 <= (znewsH[5] + rewardF)) {
         znewsH[2] <<= MIN(labs(znewsH[1] + (int)rewardF), 3);
      }
      if ((znewsH[7] - alertI[6]) > 4 || (4 - alertI[6]) > 1) {
         long info9 = sizeof(znewsH) / sizeof(znewsH[0]);
         alertI[4] |= info9;
      }
      if (2 <= rewardF) {
         alertI[9] &= (int)rewardF * 1;
      }
          char curg[] = {(char)-53,15,70,69,43,(char)-32,65,(char)-18,(char)-121,96,1};
          char try_jgT[] = {22,(char)-20,121,(char)-121,33,(char)-104,(char)-75};
          NSDictionary * ynewsN = [NSDictionary dictionaryWithObjectsAndKeys:@"stdint",[NSArray arrayWithObjects:@"defer", nil], nil];
         alertI[5] &= ynewsN.allKeys.count >> (MIN(1, labs((int)rewardF)));
         NSInteger btna = sizeof(try_jgT) / sizeof(try_jgT[0]);
         curg[9] -= btna | 3;
      for (int a = 0; a < 3; a++) {
         rewardF += (int)rewardF | 3;
      }
       double n_titleQ = 4.0f;
         rewardF -= (int)n_titleQ * 1;
       NSString * urlO = @"reinit";
      biced -= acrossd.allKeys.count & (int)rewardF;
}


- (void)didEnterBackgroundAction:(NSNotification *)notification {
      __block NSDictionary * time_1cE = [NSDictionary dictionaryWithObjectsAndKeys:@"recompose",@(174), nil];
   __block NSDictionary * type_zm = [NSDictionary dictionaryWithObjectsAndKeys:@"dec",@(6562.0), nil];
   __block float l_centerN = 3.0f;
       float y_titleC = 1.0f;
       unsigned char realA[] = {195,185,241,53,144,125,74,255};
       int navA = 2;
      if (1 == (y_titleC - 5) && (realA[7] ^ 5) == 1) {
         y_titleC /= MAX((int)y_titleC ^ realA[3], 2);
      }
      if (realA[5] <= y_titleC) {
          unsigned char navV[] = {22,72,76,80,106,37};
          BOOL edit6 = NO;
          NSInteger rewardF = 4;
          unsigned char yesh[] = {215,189,55};
         NSInteger button6 = sizeof(yesh) / sizeof(yesh[0]);
         realA[MAX(navA % 8, 6)] += button6;
         navV[3] <<= MIN(labs(rewardF), 5);
         edit6 = !edit6 && (58 | navV[1]) < 57;
      }
         NSInteger dataN = sizeof(realA) / sizeof(realA[0]);
         y_titleC *= dataN & 2;
      while (navA == realA[3]) {
         navA -= navA >> (MIN(labs(3), 5));
         break;
      }
      for (int z = 0; z < 1; z++) {
         navA |= navA << (MIN(labs(3), 4));
      }
         NSInteger number3 = sizeof(realA) / sizeof(realA[0]);
         realA[0] -= navA + number3;
         NSInteger return_tox = sizeof(realA) / sizeof(realA[0]);
         navA |= return_tox;
       char baseS[] = {(char)-57,48,67,22,(char)-107,(char)-32,27,(char)-112,(char)-65,(char)-117,68};
         baseS[4] ^= 1;
      navA -= time_1cE.count;
      l_centerN -= (int)l_centerN;

    self.bg_timer = [NSTimer scheduledTimerWithTimeInterval:1 repeats:YES block:^(NSTimer * _Nonnull timer) {
        self.bg_time += 1;
                
        if (self.bg_time == 10) {
            
            if (self.bg_timer != nil) {
                [self load_interstitial_ad];
            }
            
        }
        if (self.bg_time >= 20) {
            [timer invalidate];
   do {
      l_centerN -= type_zm.count;
      if (4166351 == type_zm.count) {
         break;
      }
   } while ((5.94f < (type_zm.allValues.count + l_centerN) && 5.94f < (type_zm.allValues.count + l_centerN)) && (4166351 == type_zm.count));
   for (int s = 0; s < 2; s++) {
      l_centerN *= type_zm.count / 5;
   }
            self.bg_timer = nil;
        }
    }];
   while (![type_zm.allValues containsObject:@(l_centerN)]) {
      l_centerN *= type_zm.count / 3;
      break;
   }
   while (3 == time_1cE.count) {
       unsigned char logs6[] = {131,81,86};
       unsigned char screens[] = {147,42,92,219,197,162,175};
       double sizV = 4.0f;
       double time_ylb = 3.0f;
       unsigned char lblh[] = {4,79,111,129};
         sizV /= MAX(1, logs6[2]);
      if ((logs6[0] & 4) <= 5 && 4 <= (screens[5] & logs6[0])) {
          char dataY[] = {82,101,24,16};
         screens[0] += lblh[3];
         int about4 = sizeof(dataY) / sizeof(dataY[0]);
         dataY[0] |= about4 ^ 1;
      }
         long screen1 = sizeof(logs6) / sizeof(logs6[0]);
         time_ylb *= screen1;
          unsigned char progb[] = {25,82,106,151,158,23,174,50,247,223,204};
          double reqr = 4.0f;
          NSInteger rewardJ = 3;
         logs6[2] *= 3;
         progb[MAX(rewardJ % 11, 5)] ^= rewardJ;
         reqr *= (int)reqr;
      do {
         NSInteger infol = sizeof(logs6) / sizeof(logs6[0]);
         sizV += screens[6] | infol;
         if (sizV == 3690478.f) {
            break;
         }
      } while ((sizV == 3690478.f) && (1 > (sizV / (MAX(screens[3], 5)))));
      while (5 == (lblh[1] | screens[0])) {
         NSInteger dataM = sizeof(lblh) / sizeof(lblh[0]);
         lblh[2] |= (int)time_ylb / (MAX(dataM, 5));
         break;
      }
         screens[0] %= MAX(lblh[2] - 2, 5);
      for (int f = 0; f < 1; f++) {
         long s_viewE = sizeof(logs6) / sizeof(logs6[0]);
         screens[6] &= s_viewE;
      }
          float urlb = 3.0f;
          unsigned char rewardY[] = {113,79,75,202,94,73,226};
          NSArray * e_countM = @[@(444), @(472)];
         logs6[2] *= 1 & (int)urlb;
         urlb *= e_countM.count;
         long t_titlev = sizeof(rewardY) / sizeof(rewardY[0]);
         rewardY[2] ^= e_countM.count + t_titlev;
         lblh[2] %= MAX(2, 3);
         sizV *= (int)time_ylb;
         screens[0] |= 3;
       unsigned char main_tI[] = {155,169,241,14,149,106,89,248,137,77};
      for (int x = 0; x < 3; x++) {
         main_tI[4] *= main_tI[7];
      }
         logs6[2] *= 2 ^ lblh[3];
      time_ylb += time_1cE.count;
      break;
   }
    
    
}


- (void)del_banne_view {
       float baseP = 5.0f;
    double acrossg = 5.0f;
       NSInteger lblB = 0;
       char progY[] = {(char)-111,(char)-78,124,(char)-50,(char)-119,(char)-37,(char)-31,32,(char)-113};
       double lblK = 2.0f;
         progY[0] %= MAX(1, 2);
         lblB <<= MIN(3, labs(2));
         lblK -= 3 ^ lblB;
         progY[6] %= MAX((int)lblK & 2, 4);
       long req9 = 5;
      if (lblK < lblB) {
         long lbll = sizeof(progY) / sizeof(progY[0]);
         lblK -= lbll;
      }
      if (2 > req9) {
          char main_vb[] = {(char)-86,18,20,(char)-119,29,(char)-106,93,(char)-58,(char)-122,(char)-39,127,(char)-127};
          double yesm = 2.0f;
          unsigned char time_d4M[] = {62,248,50,212,237,13,219};
          NSInteger lblT = 1;
          char b_countL[] = {(char)-115,53,(char)-49,67,72,126,(char)-49,(char)-28,(char)-98};
         long tempH = sizeof(main_vb) / sizeof(main_vb[0]);
         req9 |= tempH * 2;
         yesm -= 2 ^ (int)yesm;
         time_d4M[2] *= 2 | lblT;
         b_countL[6] -= (int)yesm;
      }
          unsigned char temp8[] = {134,200,25,47};
          NSInteger three4 = 0;
          double req4 = 3.0f;
         NSInteger biceq = sizeof(progY) / sizeof(progY[0]);
         NSInteger type_8z6 = sizeof(temp8) / sizeof(temp8[0]);
         lblK *= type_8z6 - biceq;
         three4 -= 2 / (MAX(5, (int)req4));
         req4 *= 3;
      for (int v = 0; v < 2; v++) {
         lblB &= req9;
      }
      baseP += 3 ^ lblB;

    ATBannerView *numberView = (ATBannerView *)[self.view viewWithTag:9527];
    if (numberView) {
        [numberView destroyBanner];
   while (3.43f > (baseP * acrossg)) {
       NSDictionary * register_t_w = @{@"eraser":@(445)};
       NSDictionary * launcht = @{@"vdrawable":@(857), @"dirname":@(836)};
       double buttonM = 5.0f;
       NSInteger home7 = 0;
       unsigned char main_oK[] = {81,53,56};
         home7 ^= launcht.count / 5;
      for (int l = 0; l < 2; l++) {
          unsigned char lblW[] = {87,16,99,118,211,35,40};
          int three9 = 0;
          char reqW[] = {99,25,(char)-44,12,(char)-48};
          BOOL homea = YES;
         home7 <<= MIN(5, labs(launcht.count << (MIN(labs(3), 4))));
         lblW[MAX(three9 % 7, 3)] ^= 3 << (MIN(1, labs(three9)));
         int infoZ = sizeof(lblW) / sizeof(lblW[0]);
         reqW[3] -= reqW[2] - (3 + infoZ);
         homea = 73 < lblW[1];
      }
          char reqs[] = {92,112,(char)-96,(char)-117,(char)-117,(char)-36,57,33,125};
         home7 %= MAX((int)buttonM | home7, 4);
         NSInteger home3 = sizeof(reqs) / sizeof(reqs[0]);
         reqs[1] *= 2 - home3;
          NSInteger urlO = 5;
          int d_centerM = 2;
         home7 /= MAX(3, 3);
         urlO -= 1;
         d_centerM <<= MIN(3, labs(3 / (MAX(8, urlO))));
      if (5 <= (launcht.allValues.count / (MAX(register_t_w.allValues.count, 2))) || 5 <= (launcht.allValues.count / (MAX(6, register_t_w.allValues.count)))) {
         home7 %= MAX(4, register_t_w.count);
      }
       int againh = 2;
      while (register_t_w[@(launcht.allKeys.count).stringValue]) {
          char n_titleV[] = {(char)-102,(char)-97,60,(char)-77,76,(char)-104,100,(char)-63,28,(char)-98,35,111};
          double adrsf = 2.0f;
          int adrsQ = 2;
          char counterP[] = {(char)-35,(char)-13,26,(char)-94,(char)-3,67,(char)-121};
         home7 |= register_t_w.count;
         n_titleV[8] ^= 3;
         adrsf -= (int)adrsf - counterP[3];
         adrsQ += 2 - (int)adrsf;
         counterP[3] %= MAX(3, 4);
         break;
      }
          NSArray * homeG = @[@(177), @(972), @(351)];
          NSString * v_titleI = @"octet";
          NSInteger layL = 4;
         main_oK[1] ^= 1;
         layL <<= MIN(5, homeG.count);
         layL &= v_titleI.length;
         layL %= MAX(4, 4 >> (MIN(2, homeG.count)));
         layL *= v_titleI.length << (MIN(labs(2), 2));
      if (againh < buttonM) {
         buttonM *= (int)buttonM;
      }
      if ((3 << (MIN(4, labs(main_oK[2])))) < 2 || (3 << (MIN(5, labs(againh)))) < 2) {
          float main_q5 = 4.0f;
         againh >>= MIN(labs((int)main_q5 | 1), 4);
      }
      for (int l = 0; l < 1; l++) {
         buttonM += home7;
      }
      while ((buttonM + 5.51f) > 5.87f || 1.93f > (5.51f + buttonM)) {
         againh >>= MIN(labs(launcht.count % 1), 4);
         break;
      }
      do {
          NSString * buttont = @"escaped";
          unsigned char h_viewx[] = {28,210,223,81,42,186,3,130,82,96,46,171};
          NSDictionary * type_e_ = [NSDictionary dictionaryWithObjectsAndKeys:@"term",@(YES), nil];
          double layu = 1.0f;
         main_oK[0] /= MAX(4, buttont.length);
         layu += buttont.length;
         h_viewx[11] += type_e_.allKeys.count;
         layu *= type_e_.count / 2;
         if (baseP == 2467870.f) {
            break;
         }
      } while ((main_oK[0] <= 5) && (baseP == 2467870.f));
      while (![launcht.allKeys containsObject:@(home7)]) {
         againh <<= MIN(launcht.count, 2);
         break;
      }
         buttonM *= register_t_w.allKeys.count & 1;
      acrossg *= launcht.count;
      break;
   }
        [numberView removeFromSuperview];
      acrossg /= MAX(4, 2 ^ (int)acrossg);
        numberView = nil;
        [self.view layoutIfNeeded];
    }
}


- (void)interstitialDidShowForPlacementID:(NSString *)placementID extra:(NSDictionary *)extra {
      __block NSDictionary * j_countB = [NSDictionary dictionaryWithObjectsAndKeys:@"dynamically",@(181), @"rotation",@(926), nil];
   __block NSInteger again4 = 0;
   for (int o = 0; o < 3; o++) {
      again4 |= 3 / (MAX(9, j_countB.count));
   }
       char progI[] = {(char)-113,(char)-5,31,74,(char)-87,(char)-124,50,36,(char)-90,16,118};
       unsigned char reqo[] = {112,207,74,205,84,108,197};
       long data5 = 0;
       long interV = 5;
         data5 += interV | 3;
      if ((data5 ^ 3) < 1) {
         NSInteger interX = sizeof(progI) / sizeof(progI[0]);
         reqo[1] += interX | reqo[5];
      }
         reqo[MAX(0, data5 % 7)] %= MAX(3, data5 / (MAX(interV, 5)));
      while (3 > (reqo[4] % 4)) {
         reqo[6] &= 1 & reqo[6];
         break;
      }
          unsigned char lblc[] = {73,163,21};
          NSString * screenF = @"contain";
          NSDictionary * infoO = [NSDictionary dictionaryWithObjectsAndKeys:@"riff",@(452).stringValue, @"entered",@(372).stringValue, nil];
         data5 += data5 - screenF.length;
         NSInteger reqY = sizeof(lblc) / sizeof(lblc[0]);
         lblc[0] |= reqY ^ infoO.allValues.count;
      again4 <<= MIN(labs(j_countB.count / 5), 5);
   while ((again4 >> (MIN(labs(1), 4))) >= 1 && (j_countB.allValues.count >> (MIN(labs(1), 3))) >= 5) {
      again4 *= again4 * j_countB.allValues.count;
      break;
   }
      again4 >>= MIN(3, labs(1));

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)interstitialDidCloseForPlacementID:(NSString *)placementID extra:(NSDictionary *)extra {
      __block float modityQ = 1.0f;
   __block double acrossL = 4.0f;
   __block double alertY = 5.0f;
   while ((1 + modityQ) <= 4.87f) {
      alertY *= 3 & (int)alertY;
      break;
   }
   if (1.64f > (3 * acrossL)) {
      alertY += (int)acrossL;
   }
   if ((3.72f + acrossL) == 4.40f && 2.87f == (alertY / (MAX(3.72f, 10)))) {
      acrossL -= (int)modityQ ^ (int)alertY;
   }
   while (4.62f >= (3.86f * modityQ)) {
       int button_ = 3;
       long abouta = 3;
       NSArray * prog5 = [NSArray arrayWithObjects:@(622), @(645), nil];
      for (int m = 0; m < 3; m++) {
         abouta ^= button_ | abouta;
      }
      if ((2 + button_) <= 1) {
         abouta /= MAX(1, 3);
      }
       NSString * reqc = @"ftvlastnode";
       NSString * curP = @"zeroing";
         abouta /= MAX(([[NSString stringWithUTF8String:(char []){108,0}] isEqualToString: reqc] ? abouta : reqc.length), 4);
          NSDictionary * sizR = [NSDictionary dictionaryWithObjectsAndKeys:@"graticule",[NSArray arrayWithObjects:@(62), @(509), nil], nil];
          char yesl[] = {(char)-110,(char)-89,(char)-105,(char)-85,41,(char)-126,(char)-9,16,60,97,43,(char)-23};
          NSString * curt = @"preserves";
         button_ /= MAX(1 & prog5.count, 5);
         yesl[2] /= MAX(curt.length, 3);
      if ((2 * curP.length) >= 4 && (prog5.count * curP.length) >= 2) {
         button_ -= curP.length * 1;
      }
      do {
         button_ ^= curP.length & 5;
         if (4781070 == curP.length) {
            break;
         }
      } while (((curP.length >> (MIN(labs(2), 3))) < 5 && (2 >> (MIN(2, prog5.count))) < 5) && (4781070 == curP.length));
      do {
         abouta -= curP.length;
         if (abouta == 3584311) {
            break;
         }
      } while (((2 % (MAX(4, abouta))) < 2 && (reqc.length % 2) < 1) && (abouta == 3584311));
      for (int u = 0; u < 2; u++) {
         abouta *= 2 - reqc.length;
      }
      modityQ *= button_ - 2;
      break;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
        [self load_banner_ad_view];
    });
      alertY += (int)alertY;
      modityQ /= MAX(1, (int)acrossL | 2);
}


- (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSString * _Nullable))completionHandler {
      __block long register_6X = 0;
   __block NSInteger prog8 = 2;
      prog8 &= register_6X;

    
    UIAlertController * aboutController5 = [UIAlertController alertControllerWithTitle:prompt message:@"" preferredStyle:UIAlertControllerStyleAlert];
    [aboutController5 addTextFieldWithConfigurationHandler:^(UITextField * _Nonnull textField) {
        textField.text = defaultText;
   if (1 >= (prog8 + 5) || (5 + register_6X) >= 2) {
      prog8 /= MAX(register_6X, 4);
   }
    }];
    UIAlertAction * counterK = [UIAlertAction actionWithTitle:@"完成" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull counterK) {
        completionHandler(aboutController5.textFields[0].text ? : @"");
   if (3 > (register_6X | prog8)) {
       char privacyw[] = {14,(char)-62,14,(char)-76,(char)-115,(char)-30,(char)-124,(char)-77,(char)-87,28};
       double req0 = 5.0f;
       char navZ[] = {(char)-86,(char)-115,13,101,46,(char)-15,69};
       NSString * tempm = @"candle";
      do {
         navZ[1] /= MAX(1, privacyw[4]);
         if (register_6X == 1425908) {
            break;
         }
      } while ((5 < (req0 * navZ[6]) && 1 < (req0 * 5)) && (register_6X == 1425908));
      do {
          float progi = 4.0f;
          BOOL return_rda = NO;
          int datam = 0;
         int homet = sizeof(navZ) / sizeof(navZ[0]);
         privacyw[0] %= MAX(3, (2 + homet) - privacyw[0]);
         progi -= (int)progi;
         return_rda = !return_rda && 14.80f == progi;
         datam <<= MIN(2, labs(3 - (int)progi));
         if (1555616 == register_6X) {
            break;
         }
      } while ((navZ[0] <= 3) && (1555616 == register_6X));
       double againM = 5.0f;
       double banne9 = 2.0f;
          BOOL yes1 = YES;
         navZ[1] ^= ((yes1 ? 2 : 4));
         privacyw[0] /= MAX(2, tempm.length - navZ[0]);
          long realn = 3;
          char b_countf[] = {(char)-108,(char)-105,(char)-42,115,(char)-80};
         againM -= 3;
         long counterE = sizeof(b_countf) / sizeof(b_countf[0]);
         realn %= MAX(4, counterE);
      if (againM < req0) {
         againM *= navZ[5];
      }
      for (int s = 0; s < 2; s++) {
          int counteri = 2;
          double layW = 2.0f;
          float banneh = 1.0f;
         againM *= 2;
         counteri /= MAX(5, (int)banneh | (int)layW);
         layW *= (int)layW >> (MIN(labs((int)banneh), 4));
      }
          long loginy = 2;
          long navL = 3;
          unsigned char sizZ[] = {86,154,129};
         privacyw[MAX(navL % 10, 7)] *= 1 >> (MIN(labs((int)againM), 3));
         loginy -= loginy & 1;
         navL -= loginy;
         int main_di = sizeof(sizZ) / sizeof(sizZ[0]);
         sizZ[0] &= 1 * main_di;
      if (3 <= (againM * 2) && (againM * 2) <= 4) {
         NSInteger btn8 = sizeof(navZ) / sizeof(navZ[0]);
         privacyw[2] ^= btn8 - 2;
      }
         againM /= MAX(2, tempm.length + 3);
         req0 += 1 + tempm.length;
      long layb = sizeof(navZ) / sizeof(navZ[0]);
      register_6X %= MAX(2, layb * (int)req0);
   }
    }];
   do {
      prog8 *= register_6X >> (MIN(labs(prog8), 2));
      if (1561976 == prog8) {
         break;
      }
   } while ((2 <= prog8) && (1561976 == prog8));
    [aboutController5 addAction:counterK];
    
    [self presentViewController:aboutController5 animated:YES completion:nil];
}


- (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler {
      __block double type_9d = 0.0f;
   __block int opena = 1;
   __block NSArray * time_pbx = [NSArray arrayWithObjects:@(7454), nil];
      type_9d /= MAX(2, (int)type_9d);

    
    if (navigationAction.targetFrame == nil) {
        
        NSString *launch = [navigationAction.request.URL absoluteString];
        if ([launch containsString:@"index.php/user"]) {
            [self.view_web loadRequest:navigationAction.request];
   do {
      opena >>= MIN(4, labs(time_pbx.count / (MAX(1, 10))));
      if (opena == 2729365) {
         break;
      }
   } while ((opena == 2729365) && ((time_pbx.count & 3) == 3));
            decisionHandler(WKNavigationActionPolicyAllow);
   do {
       NSInteger adrsR = 1;
      for (int m = 0; m < 2; m++) {
         adrsR &= adrsR;
      }
       float return_fS = 4.0f;
      while (5 == (adrsR >> (MIN(labs(1), 2))) || (return_fS * adrsR) == 4.85f) {
          char adrsT[] = {(char)-62,37,81,101,(char)-106,69,9,(char)-44,13,86,(char)-38};
         adrsR *= 1 - (int)return_fS;
         NSInteger sizL = sizeof(adrsT) / sizeof(adrsT[0]);
         adrsT[9] ^= sizL * adrsT[6];
         break;
      }
      opena ^= time_pbx.count;
      if (opena == 4164626) {
         break;
      }
   } while ((3 < (4 % (MAX(5, time_pbx.count)))) && (opena == 4164626));
            return;
        } else {
            HJGHomeScreenController *u_centerController = [HJGHomeScreenController new];
      type_9d /= MAX(1 >> (MIN(labs(opena), 4)), 4);
            u_centerController.myRequest = navigationAction.request;
   for (int f = 0; f < 1; f++) {
       int inter2 = 2;
       unsigned char return_2d[] = {54,242,60,161,235,64,187,89,36,167,205};
      do {
          NSArray * tempC = @[@"stopping", @"iswhitespace"];
         NSInteger reward2 = sizeof(return_2d) / sizeof(return_2d[0]);
         return_2d[MAX(1, inter2 % 11)] *= 1 * reward2;
         if (1188150.f == type_9d) {
            break;
         }
      } while ((2 < return_2d[3]) && (1188150.f == type_9d));
      while ((return_2d[8] * inter2) < 2 && (2 * inter2) < 2) {
         inter2 /= MAX(4, inter2 + 2);
         break;
      }
       char realN[] = {114,104,(char)-24,(char)-18,108,85};
      do {
         return_2d[MAX(inter2 % 11, 0)] >>= MIN(labs(1 | inter2), 5);
         if (3650077.f == type_9d) {
            break;
         }
      } while ((return_2d[7] <= 5) && (3650077.f == type_9d));
          NSArray * urlb = [NSArray arrayWithObjects:@(100), @(44), @(19), nil];
         int register_rhb = sizeof(realN) / sizeof(realN[0]);
         return_2d[5] &= urlb.count | register_rhb;
         NSInteger editP = sizeof(realN) / sizeof(realN[0]);
         NSInteger realY = sizeof(return_2d) / sizeof(return_2d[0]);
         return_2d[0] <<= MIN(2, labs(realY + editP));
      inter2 %= MAX(time_pbx.count & 1, 1);
   }
            [self.navigationController pushViewController:u_centerController animated:true];
    
            decisionHandler(WKNavigationActionPolicyAllow);
            return;
        }
    }
    
    NSURL *editd = navigationAction.request.URL;
    NSLog(@"todo - %@", editd);
    
    if(![editd.absoluteString containsString:@"bywan"] && (![editd.absoluteString containsString:@"m3u8"])) {
        decisionHandler(WKNavigationActionPolicyCancel);
        return;
    }
    
    if([editd.absoluteString containsString:@"/vod/play/"]) {
        
        
        BOOL try_ja = NO;
        if ([editd.absoluteString containsString:@"/nid/"]) {
            NSString *main_z = [editd.absoluteString componentsSeparatedByString:@"/"].lastObject;
            if ([main_z containsString:@"."]) {
                NSString *main_n = [main_z componentsSeparatedByString:@"."].firstObject;
                if ([main_n intValue] == 1) {
                    try_ja = YES;
                }
            }
        }
        
        
         
        
        
        
        if (
            self.url_number == 1 ||
            (self.url_number > 1 && self.vod_type == 1)
            ) {
                try_ja = NO;
            }
        
        NSInteger numberN = 0;
        
        {
            NSString *url3 = editd.absoluteString;
            NSString *info = [url3 componentsSeparatedByString:@"/sid/"].firstObject;
            NSString *number1 = [info componentsSeparatedByString:@"/"].lastObject;
            NSString *n_center = [url3 componentsSeparatedByString:@"/nid/"].lastObject;
            
            NSString *button = self.cur_url;
            NSString *navj = [button componentsSeparatedByString:@"/sid/"].firstObject;
            NSString *across2 = [navj componentsSeparatedByString:@"/"].lastObject;
            NSString *about = [button componentsSeparatedByString:@"/nid/"].lastObject;
            
            if ([n_center containsString:@"."]) {
                numberN = [[n_center componentsSeparatedByString:@"."].firstObject integerValue];
            }
            
            if ([number1 isEqualToString:across2] && [n_center isEqualToString:about]) {
                self.across_url = YES;
            }
        }
        
        NSLog(@"todo type = %@, type2 = %@, jisu = %@", @(self.vod_type), @(self.vod_type2), @(numberN));
        
        if(!try_ja && !self.across_url) {
            
            if (self.vod_type == 2) {
                
                
                if (numberN >= 6) {
                    self.temp_req = navigationAction.request;
                    HJGModityAlertController *u_centerController = [HJGModityAlertController new];
                    u_centerController.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                    u_centerController.okBlock = ^{
                        [self load_reward_ad];
                    };
                    u_centerController.noBlock = ^{
                    };
                    [self presentViewController:u_centerController animated:NO completion:NULL];
                    decisionHandler(WKNavigationActionPolicyCancel);
                    return;
                } else {
                }
                
            } else if (self.vod_type == 29 || (self.vod_type == 0 && self.vod_type2 == 29)) {
                
                
                
                if (numberN >= 10 && numberN % 5 == 0) {
                    self.temp_req = navigationAction.request;
                    HJGModityAlertController *u_centerController = [HJGModityAlertController new];
                    u_centerController.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                    u_centerController.okBlock = ^{
                        [self load_reward_ad];
                    };
                    u_centerController.noBlock = ^{
                    };
                    [self presentViewController:u_centerController animated:NO completion:NULL];
                    decisionHandler(WKNavigationActionPolicyCancel);
                    return;
                } else if (numberN % 5 == 0) {
                }
                
            } else {
                
                self.temp_req = navigationAction.request;
                HJGModityAlertController *u_centerController = [HJGModityAlertController new];
                u_centerController.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                u_centerController.okBlock = ^{
                    [self load_reward_ad];
                };
                u_centerController.noBlock = ^{
                };
                [self presentViewController:u_centerController animated:NO completion:NULL];
                decisionHandler(WKNavigationActionPolicyCancel);
                return;
            }
        } else {
            self.across_url = NO;
        }
    }
    
    self.cur_url = editd.absoluteString;
    
    if ([editd.absoluteString containsString:@"ituns.apple.com"]) {
        if ([[UIApplication sharedApplication] canOpenURL:editd]) {
            [[UIApplication sharedApplication] openURL:editd];
            decisionHandler(WKNavigationActionPolicyCancel);
            return;
        }
        decisionHandler(WKNavigationActionPolicyAllow);
    }
    
    decisionHandler(WKNavigationActionPolicyAllow);
}


- (void)didFailToLoadADWithPlacementID:(NSString*)pid error:(NSError*)error {
      __block long countere = 5;
   __block long navd = 4;
   __block NSString * numberE = @"nibble";
   do {
      navd /= MAX(numberE.length >> (MIN(labs(5), 3)), 3);
      if ([numberE isEqualToString: [NSString stringWithUTF8String:(char []){111,120,111,104,100,111,0}]]) {
         break;
      }
   } while ((countere == 2) && ([numberE isEqualToString: [NSString stringWithUTF8String:(char []){111,120,111,104,100,111,0}]]));

    
    dispatch_async(dispatch_get_main_queue(), ^{
        if ([pid isEqual:kAdBanner]) {
            if (self.banne_try_again == YES) {
                self.banne_try_again = NO;
       long bannek = 5;
       long rewardg = 5;
         rewardg &= rewardg;
         bannek /= MAX(2, bannek);
         rewardg /= MAX(3, rewardg / (MAX(bannek, 8)));
          unsigned char btnQ[] = {5,226,223};
          unsigned char open_[] = {123,12,252,51,36,184,248,145,184,183,25,155};
         rewardg ^= 3 / (MAX(6, rewardg));
         long open6 = sizeof(btnQ) / sizeof(btnQ[0]);
         btnQ[1] += open_[1] ^ open6;
         int acrossq = sizeof(btnQ) / sizeof(btnQ[0]);
         int openo = sizeof(open_) / sizeof(open_[0]);
         open_[2] |= acrossq + openo;
         bannek *= bannek << (MIN(labs(rewardg), 4));
      if (1 < (bannek * rewardg)) {
          unsigned char tempH[] = {153,110,134,17,69};
         NSInteger adrsN = sizeof(tempH) / sizeof(tempH[0]);
         bannek %= MAX(4, adrsN);
      }
      navd *= navd << (MIN(labs(bannek), 5));
                [self load_banner_ad_view];
            }
            
        } else if ([pid isEqual:kAdReward]) {
            
            if (self.reward_try_again == YES) {
                self.reward_try_again = NO;
      navd /= MAX(numberE.length & navd, 5);
                [self load_reward_ad];
            } else {
                [SVProgressHUD dismiss];
      navd -= countere * navd;
                [self turn_to_play_page];
            }
            
        } else if ([pid isEqual:kAdInterstitial]) {
            
            if (self.inter_try_again == YES) {
                self.inter_try_again = NO;
      navd &= numberE.length % (MAX(5, 2));
                [self load_interstitial_ad];
            } else {
                [self load_banner_ad_view];
            }
        }
    });
      navd /= MAX(countere * numberE.length, 3);
}


- (void)turn_to_play_page {
       char reward2[] = {(char)-34,(char)-70,68,(char)-85,(char)-108,27,93};
    NSInteger cury = 0;
   for (int g = 0; g < 3; g++) {
      reward2[MAX(cury % 7, 0)] <<= MIN(labs(cury), 3);
   }
   while (cury <= 2) {
       unsigned char counter0[] = {25,29,238,216,146,64,230,196,216,247,58};
       int prog9 = 3;
       BOOL aboutS = NO;
       BOOL baseW = NO;
       char yesw[] = {103,101,35,89};
         baseW = !aboutS;
         baseW = (!baseW ? aboutS : baseW);
       NSString * return_uE = @"tilehdr";
      while (!baseW) {
          unsigned char biceE[] = {254,155,55,5,203,176,76,152,33,131,190};
         baseW = (return_uE.length & biceE[6]) <= 11;
         break;
      }
         aboutS = 87 < prog9;
          long yes6 = 1;
         aboutS = return_uE.length < 33 && baseW;
         yes6 -= yes6 | 1;
      for (int y = 0; y < 2; y++) {
         aboutS = 10 > prog9;
      }
      for (int q = 0; q < 3; q++) {
         prog9 &= ([return_uE isEqualToString: [NSString stringWithUTF8String:(char []){122,0}]] ? return_uE.length : (aboutS ? 5 : 1));
      }
      do {
          int d_center4 = 4;
          NSArray * infoQ = @[@(267), @(916)];
          long progL = 5;
          char datad[] = {95,101,36,(char)-124};
          float time_48 = 3.0f;
         aboutS = (d_center4 % (MAX(7, return_uE.length))) > 19;
         d_center4 /= MAX(1, 2 * datad[3]);
         progL += 3 | infoQ.count;
         progL %= MAX(1 + (int)time_48, 4);
         datad[2] &= 3;
         NSInteger delegate_0zu = sizeof(datad) / sizeof(datad[0]);
         time_48 -= progL << (MIN(labs(delegate_0zu), 5));
         progL &= 2 ^ infoQ.count;
         if (aboutS ? !aboutS : aboutS) {
            break;
         }
      } while (((3 >> (MIN(1, labs(prog9)))) <= 1) && (aboutS ? !aboutS : aboutS));
      for (int b = 0; b < 3; b++) {
         counter0[MAX(prog9 % 11, 3)] *= prog9 >> (MIN(labs(2), 4));
      }
      for (int s = 0; s < 3; s++) {
          NSArray * sizD = [NSArray arrayWithObjects:@(931), @(781), nil];
          long t_centerk = 1;
         counter0[MAX(t_centerk % 11, 10)] -= t_centerk % (MAX(1, 6));
      }
         aboutS = (((aboutS ? 55 : return_uE.length) << (MIN(return_uE.length, 3))) >= 55);
      for (int s = 0; s < 1; s++) {
         prog9 <<= MIN(labs(return_uE.length / 4), 4);
      }
      for (int b = 0; b < 3; b++) {
         prog9 += 3 % (MAX(7, return_uE.length));
      }
         int return_pc0 = sizeof(yesw) / sizeof(yesw[0]);
         baseW = (return_pc0 << (MIN(4, return_uE.length))) <= 73;
      reward2[MAX(5, prog9 % 7)] <<= MIN(2, labs(prog9));
      break;
   }

    if (self.temp_req != nil) {
        [self.view_web loadRequest:self.temp_req];
       double try_js = 0.0f;
          unsigned char openm[] = {199,39,211,83,253,16,240,50,73,211};
         try_js += (int)try_js;
         int timerk = sizeof(openm) / sizeof(openm[0]);
         openm[9] ^= timerk / (MAX(2, 2));
       NSInteger w_viewH = 3;
       NSInteger return_1m = 3;
      if (w_viewH <= try_js) {
         try_js += (int)try_js;
      }
      reward2[MAX(5, cury % 7)] /= MAX(1, cury);
   while (1 <= reward2[2]) {
       unsigned char baser[] = {157,103,65,143,85,178,18,13,10,115};
       char openf[] = {(char)-48,73,87,(char)-31,105,(char)-61};
       int return_rcG = 4;
       unsigned char reald[] = {166,49,116,232,38,229,160,28,48,51,124,153};
         openf[MAX(return_rcG % 6, 3)] %= MAX(reald[3], 5);
          NSDictionary * dataz = @{@"I":@"B"};
          BOOL urln = YES;
          BOOL alertz = YES;
         long numbery = sizeof(openf) / sizeof(openf[0]);
         baser[6] ^= numbery % (MAX(2, baser[2]));
         urln = 4 ^ dataz.count;
         urln = (((urln ? 28 : dataz.allValues.count) * dataz.allValues.count) == 28);
         alertz = !urln;
          double launchB = 3.0f;
          char m_viewF[] = {19,62,(char)-19};
         openf[5] >>= MIN(labs(return_rcG), 4);
         NSInteger reqX = sizeof(m_viewF) / sizeof(m_viewF[0]);
         launchB *= reqX * 1;
       unsigned char layl[] = {194,15,162,125,173,69,146,205};
          NSString * try_k9g = @"olor";
         reald[4] %= MAX(try_k9g.length, 3);
         NSInteger screen9 = sizeof(reald) / sizeof(reald[0]);
         layl[MAX(6, return_rcG % 8)] &= screen9 ^ 2;
      do {
         int delegate_fM = sizeof(reald) / sizeof(reald[0]);
         int url3 = sizeof(baser) / sizeof(baser[0]);
         baser[6] %= MAX(3, url3 | delegate_fM);
         if (cury == 34085) {
            break;
         }
      } while ((cury == 34085) && ((reald[5] << (MIN(labs(baser[3]), 3))) >= 5 && (reald[5] << (MIN(labs(5), 1))) >= 5));
         layl[MAX(6, return_rcG % 8)] ^= return_rcG;
      for (int q = 0; q < 2; q++) {
          double real7 = 4.0f;
          NSString * basey = @"cvid";
          NSArray * alertX = @[@(522), @(991)];
          long reala = 1;
         layl[5] /= MAX(3 ^ (int)real7, 2);
         real7 += basey.length;
         reala &= basey.length;
         reala /= MAX(2, alertX.count);
         reala ^= alertX.count;
      }
         long try_3e = sizeof(baser) / sizeof(baser[0]);
         layl[1] |= (2 + try_3e) & reald[9];
          unsigned char interP[] = {109,72,219};
          double real7w = 1.0f;
          NSArray * timert = @[@(657), @(934)];
         layl[3] <<= MIN(labs(3), 3);
         interP[0] %= MAX(2, (int)real7w);
         real7w *= (int)real7w;
         real7w *= timert.count / (MAX(3, 9));
         real7w /= MAX(1, timert.count);
         layl[0] <<= MIN(3, labs(return_rcG));
      reward2[5] /= MAX(3, return_rcG);
      break;
   }
        self.cur_url = self.temp_req.URL.absoluteString;
        self.temp_req = nil;
        self.across_url = YES;
    }
}


- (void)webView:(WKWebView *)webView didFinishNavigation:(null_unspecified WKNavigation *)navigation {
       BOOL tempq = NO;
    char again1[] = {125,(char)-51,116,(char)-109,(char)-14,121,(char)-125,(char)-72,75};
       char editb[] = {(char)-114,29,(char)-13,21,(char)-128,(char)-78,(char)-90,(char)-42,111,98,(char)-67,(char)-58};
       char try_9p[] = {(char)-60,36,88,(char)-50,79,70};
         NSInteger time_abT = sizeof(editb) / sizeof(editb[0]);
         NSInteger dataC = sizeof(try_9p) / sizeof(try_9p[0]);
         try_9p[0] >>= MIN(labs(time_abT % (MAX(dataC, 10))), 2);
      if ((try_9p[2] + editb[3]) == 3 && (3 + try_9p[2]) == 4) {
         long infoD = sizeof(try_9p) / sizeof(try_9p[0]);
         try_9p[5] *= editb[5] * (3 + infoD);
      }
         long tempn = sizeof(editb) / sizeof(editb[0]);
         editb[2] >>= MIN(2, labs(tempn));
       char curA[] = {11,(char)-111};
         long loginZ = sizeof(editb) / sizeof(editb[0]);
         try_9p[5] *= (3 + loginZ) * curA[1];
      while (curA[1] <= try_9p[2]) {
         NSInteger editf = sizeof(editb) / sizeof(editb[0]);
         curA[0] >>= MIN(3, labs(try_9p[1] - (1 + editf)));
         break;
      }
      NSInteger type_90 = sizeof(editb) / sizeof(editb[0]);
      again1[0] /= MAX(try_9p[4] + type_90, 4);
   if (5 <= again1[8]) {
      tempq = !tempq && 66 < (72 * again1[8]);
   }
       char vodp[] = {24,(char)-42,64,(char)-22,(char)-96};
       double privacyl = 1.0f;
       double interg = 0.0f;
       NSDictionary * navm = @{@"express":@(146).stringValue};
       NSDictionary * privacyI = [NSDictionary dictionaryWithObjectsAndKeys:@"monotony",@(354), @"internal",@(654), @"truncpasses",@(338), nil];
         vodp[4] *= 1 ^ (int)privacyl;
      do {
         privacyl -= navm.count / (MAX(3, 7));
         if (4890434 == navm.count) {
            break;
         }
      } while ((1 > navm.allKeys.count) && (4890434 == navm.count));
         privacyl -= 3 / (MAX(5, navm.count));
      do {
          int req3 = 4;
          unsigned char modityJ[] = {210,136,157,201,159,31,220,136,118};
          NSArray * loginj = @[@(4412.0)];
         req3 <<= MIN(labs(privacyI.count << (MIN(labs(1), 3))), 5);
         req3 |= 2 >> (MIN(1, labs(modityJ[4])));
         modityJ[6] >>= MIN(labs(2), 3);
         if (4024919 == privacyI.count) {
            break;
         }
      } while ((4024919 == privacyI.count) && ([privacyI.allValues containsObject:@(privacyl)]));
          NSInteger ynewsd = 4;
          unsigned char curj[] = {89,240,10};
          unsigned char againM[] = {61,229,159};
         vodp[4] <<= MIN(labs((int)privacyl), 1);
         ynewsd -= 2 & ynewsd;
         long interf = sizeof(curj) / sizeof(curj[0]);
         curj[1] /= MAX(againM[1] - (2 + interf), 5);
         againM[MAX(ynewsd % 3, 1)] /= MAX(4, ynewsd);
         interg /= MAX(5, navm.allKeys.count ^ (int)privacyl);
      do {
         vodp[0] /= MAX((int)privacyl / (MAX(2, 6)), 1);
         if (tempq ? !tempq : tempq) {
            break;
         }
      } while ((tempq ? !tempq : tempq) && (5 == (privacyI.count + 5)));
      for (int y = 0; y < 3; y++) {
          unsigned char realt[] = {121,234,67,186,151,3,143,245,14,140,247,122};
          NSString * infop = @"behaviors";
         privacyl *= (int)interg;
         realt[7] /= MAX(infop.length, 2);
      }
      NSInteger alert8 = sizeof(again1) / sizeof(again1[0]);
      again1[4] <<= MIN(5, labs((int)interg % (MAX(6, alert8))));
      tempq = again1[6] < 32;

    self.reloadButton.hidden = YES;
}


- (void)load_reward_ad {
       char y_countr[] = {105,7,103,115,54,(char)-62,73,86,(char)-50,42};
    NSArray * time_hux = [NSArray arrayWithObjects:@(94), @(330), nil];
    NSInteger delegate_714 = 2;
      delegate_714 /= MAX(1, time_hux.count * 3);
   do {
      y_countr[0] /= MAX(delegate_714 | 1, 5);
      if (372160 == time_hux.count) {
         break;
      }
   } while ((4 > (4 / (MAX(2, y_countr[4]))) && 1 > (4 / (MAX(1, y_countr[4])))) && (372160 == time_hux.count));
      delegate_714 <<= MIN(labs(1), 2);

    [SVProgressHUD show];
    NSDictionary *prog = @{kATAdLoadingExtraMediaExtraKey:@"media_val",kATAdLoadingExtraUserIDKey:@"rv_test_user_id",kATAdLoadingExtraRewardNameKey:@"reward_Name",kATAdLoadingExtraRewardAmountKey:@(3)};
      delegate_714 *= time_hux.count;
      y_countr[3] &= 2;
      y_countr[2] += time_hux.count;
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdReward extra:prog delegate:self];
}

- (void)clearCache {
    [[NSURLCache sharedURLCache] removeAllCachedResponses];
    NSMutableArray *types = [@[WKWebsiteDataTypeMemoryCache, WKWebsiteDataTypeDiskCache, WKWebsiteDataTypeOfflineWebApplicationCache, WKWebsiteDataTypeCookies, WKWebsiteDataTypeSessionStorage, WKWebsiteDataTypeLocalStorage, WKWebsiteDataTypeWebSQLDatabases, WKWebsiteDataTypeIndexedDBDatabases] mutableCopy];
     if (@available(iOS 11.3, *)) {
        [types addObject:WKWebsiteDataTypeFetchCache];
        [types addObject:WKWebsiteDataTypeServiceWorkerRegistrations];
     }
     // 9.0之后才有的
     NSSet *websiteDataTypes = [NSSet setWithArray:types];
     NSDate *dateFrom = [NSDate dateWithTimeIntervalSince1970:0];
     [[WKWebsiteDataStore defaultDataStore] removeDataOfTypes:websiteDataTypes modifiedSince:dateFrom completionHandler:^{
                
     }];
}


- (void)reloadWebView:(id)sender {
       NSString * navQ = @"hqdnd";
    double s_titleD = 3.0f;
      s_titleD -= (int)s_titleD / (MAX(3, navQ.length));
       double type_ru = 1.0f;
      do {
         type_ru -= (int)type_ru;
         if (4811858.f == type_ru) {
            break;
         }
      } while ((4811858.f == type_ru) && (3.34f <= type_ru));
      if (1.76f < type_ru) {
         type_ru += 1;
      }
      if (2.11f >= type_ru) {
          char homeT[] = {(char)-10,92,56,13};
          long return_db = 3;
          char openw[] = {33,(char)-55,48,(char)-100,(char)-107,(char)-105,(char)-86,(char)-65,(char)-80,91,107,(char)-22};
          float screena = 1.0f;
         type_ru /= MAX((int)screena, 1);
         homeT[0] /= MAX(return_db, 3);
         openw[0] /= MAX(return_db, 1);
         screena /= MAX(3 << (MIN(3, labs(return_db))), 2);
      }
      type_ru /= MAX(navQ.length, 4);
      s_titleD -= navQ.length;

    [self clearCache];
    [self.view_web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
}


- (void)load_banner_ad_view {
       double homex = 0.0f;
    char yesB[] = {(char)-94,31,(char)-81,(char)-82,(char)-6,55,(char)-64,1,(char)-1,(char)-40};
   while ((yesB[1] - homex) > 3 && 5 > (3 % (MAX(4, yesB[1])))) {
       int homeR = 5;
       char bicei[] = {30,96,(char)-99,(char)-27,116};
       double p_centerk = 2.0f;
       NSDictionary * try_qq = @{@"s":@"V", @"x":@"b"};
       unsigned char rewards[] = {134,132,185,171,231,115,155,34};
          BOOL i_viewu = NO;
          unsigned char privacyg[] = {172,117,59,57,165,29};
          float biceb = 5.0f;
         bicei[1] *= 2 - (int)biceb;
         i_viewu = i_viewu;
         privacyg[4] ^= (2 ^ (i_viewu ? 3 : 3));
         biceb += 2;
         p_centerk /= MAX(2, 3);
         rewards[7] >>= MIN(3, labs(homeR));
       long aboutZ = 4;
         homeR += aboutZ;
          NSString * again6 = @"butterworth";
         homeR /= MAX(5, 1);
          char threeH[] = {(char)-68,120,68,(char)-63,21,16,114,3,(char)-16,118,(char)-64};
          unsigned char reqe[] = {194,238,205,209,244};
         p_centerk /= MAX(homeR, 4);
         NSInteger v_titleu = sizeof(threeH) / sizeof(threeH[0]);
         threeH[3] <<= MIN(labs(reqe[0] << (MIN(5, labs(v_titleu)))), 3);
         long loginJ = sizeof(threeH) / sizeof(threeH[0]);
         reqe[3] -= loginJ << (MIN(labs(1), 4));
      while (4 == aboutZ) {
         aboutZ %= MAX(3, homeR);
         break;
      }
         rewards[MAX(homeR % 8, 3)] &= (int)p_centerk & 2;
         rewards[2] -= 1 & homeR;
          NSDictionary * modityO = @{@"monkeysaudio":@(871), @"mulhi":@(469), @"squared":@(650)};
          char btn1[] = {59,115,(char)-55,50,(char)-126,84,(char)-74};
          unsigned char privacyW[] = {81,73,94,233,52,178,162,38,111,213};
         homeR <<= MIN(try_qq.count, 2);
         long screenL = sizeof(btn1) / sizeof(btn1[0]);
         btn1[5] >>= MIN(labs(privacyW[1] ^ (1 + screenL)), 1);
         privacyW[1] *= modityO.count + btn1[3];
      do {
         homeR &= 1;
         if (2238223 == homeR) {
            break;
         }
      } while ((2238223 == homeR) && (homeR <= p_centerk));
          BOOL screen7 = NO;
          NSDictionary * q_countG = @{@"0":@"F", @"S":@"c", @"D":@"m"};
          BOOL privacyN = NO;
         aboutZ ^= try_qq.count;
         screen7 = q_countG.allKeys.count < 56 && privacyN;
         screen7 = q_countG.count + 2;
         privacyN = q_countG.allValues.count >= 60;
      while ((p_centerk * homeR) >= 5.53f) {
         p_centerk -= bicei[1] | homeR;
         break;
      }
      if (1 == (p_centerk / (MAX(10, rewards[5])))) {
         p_centerk -= (int)p_centerk >> (MIN(3, labs(1)));
      }
      yesB[2] %= MAX(homeR, 1);
      break;
   }
      NSInteger delegate_tb = sizeof(yesB) / sizeof(yesB[0]);
      homex += delegate_tb + (int)homex;


    float screenZ = 320/50.0;
    self.banne_siz = CGSizeMake(UIScreen.mainScreen.bounds.size.width, UIScreen.mainScreen.bounds.size.width/screenZ);

    NSDictionary *progr = @{
        kATAdLoadingExtraBannerAdSizeKey: [NSValue valueWithCGSize:self.banne_siz],
    };
   while (2 == yesB[7]) {
      homex -= 1;
      break;
   }
   while (1 == (yesB[2] / 3) || 1 == (yesB[2] * 3)) {
       char acrossc[] = {43,(char)-72,26};
       int sizo = 4;
       BOOL screenA = NO;
          double bannei = 1.0f;
         sizo <<= MIN(1, labs(2 + (int)bannei));
      while (5 > acrossc[1]) {
         int againo = sizeof(acrossc) / sizeof(acrossc[0]);
         screenA = sizo >= againo;
         break;
      }
      while (!screenA || acrossc[1] == 3) {
         screenA = 57 < sizo;
         break;
      }
         acrossc[2] /= MAX(acrossc[2] + 1, 2);
         sizo += acrossc[1] | 3;
       char infoO[] = {(char)-59,(char)-65,104,(char)-117,37,(char)-3,(char)-98,106,49};
       char layW[] = {(char)-55,95,109,(char)-108,47};
      for (int e = 0; e < 1; e++) {
          char infoE[] = {95,88,(char)-103,88,(char)-32,119,115,124,(char)-16,34};
         NSInteger privacyS = sizeof(infoE) / sizeof(infoE[0]);
         sizo /= MAX(4, privacyS >> (MIN(labs(1), 3)));
      }
      do {
         screenA = infoO[7] < 19;
         if (screenA ? !screenA : screenA) {
            break;
         }
      } while ((screenA ? !screenA : screenA) && (screenA && infoO[6] < 2));
       NSString * openW = @"samplecpy";
      yesB[2] += yesB[7] << (MIN(4, labs(1)));
      break;
   }
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdBanner extra:progr delegate:self];
}


- (void)load_interstitial_ad {
       double bannet = 2.0f;
    BOOL btnN = YES;
   while (2 >= (bannet / (MAX(2, 2.86f))) && 2.86f >= bannet) {
      bannet += ((int)bannet >> (MIN(2, labs((btnN ? 5 : 3)))));
      break;
   }
       double delegate_asd = 4.0f;
       long counterN = 4;
         counterN %= MAX(4, counterN);
         delegate_asd *= counterN;
         delegate_asd /= MAX(2, 1);
         delegate_asd += counterN;
         counterN |= 2;
      for (int u = 0; u < 1; u++) {
          NSArray * openb = [NSArray arrayWithObjects:@(440), @(644), nil];
          char baseF[] = {(char)-4,90,125,(char)-39,(char)-49,69,34,103,(char)-76};
          unsigned char basel[] = {31,228,82,51,38,4,228,249,32,192,43};
          NSArray * return_eW = [NSArray arrayWithObjects:@(8980), nil];
         counterN >>= MIN(labs((int)delegate_asd | 3), 5);
         baseF[5] %= MAX(1, return_eW.count & openb.count);
         basel[4] *= return_eW.count / (MAX(baseF[6], 1));
      }
      bannet -= ((btnN ? 5 : 2) & (int)bannet);

    NSDictionary *prog3 = @{kATAdLoadingExtraMediaExtraKey:@"custom_values"};
   do {
      bannet -= ((int)bannet << (MIN(1, labs((btnN ? 1 : 5)))));
      if (bannet == 2352765.f) {
         break;
      }
   } while ((bannet == 2352765.f) && (btnN));
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdInterstitial extra:prog3 delegate:self];
}


- (void)bannerView:(ATBannerView*)bannerView didTapCloseButtonWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra {
      __block long counteru = 2;
   __block BOOL reloadT = NO;
      reloadT = counteru > 59;
   for (int s = 0; s < 3; s++) {
      reloadT = counteru > 62 || !reloadT;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
        [self del_banne_view];
    });
      reloadT = reloadT || counteru == 98;
}


- (CGFloat)safe_top {
       double urln = 1.0f;
    NSDictionary * curl = [NSDictionary dictionaryWithObjectsAndKeys:@"accessors",@(333), @"chunk",@(908).stringValue, @"minimizeable",@(834).stringValue, nil];
    unsigned char three1[] = {238,208,26,210,61,154,179,27,116,157};
       double numberU = 3.0f;
         numberU += (int)numberU ^ (int)numberU;
      do {
         numberU *= 3;
         if (3686484.f == numberU) {
            break;
         }
      } while ((1.95f == (numberU - numberU)) && (3686484.f == numberU));
      do {
         numberU *= (int)numberU ^ 3;
         if (numberU == 223692.f) {
            break;
         }
      } while ((numberU == 223692.f) && (3.28f == (numberU * 4)));
      numberU /= MAX(5, curl.count);
   do {
       NSArray * nav2 = @[@{@"Z":@"A", @"n":@"A", @"V":@"s"}];
       unsigned char j_titlee[] = {93,48,53,213,21,240,242,222,241,221};
       unsigned char biceg[] = {210,174,181,227,223,174,251,240,157,47,138};
       unsigned char adrs9[] = {35,48,60};
      for (int v = 0; v < 1; v++) {
          long vodm = 3;
          int yesD = 5;
          unsigned char siz6[] = {188,56,55};
         vodm += nav2.count;
         vodm += yesD;
         yesD -= yesD * 3;
         siz6[MAX(yesD % 3, 1)] &= 2 | yesD;
      }
      if (2 < j_titlee[2]) {
      }
       char o_count9[] = {(char)-59,(char)-36,66,4,(char)-36,80,(char)-128,75,57,20};
       char register_gS[] = {3,(char)-66};
      if (5 >= (biceg[2] - adrs9[2]) && 4 >= (5 - adrs9[2])) {
         int btnt = sizeof(j_titlee) / sizeof(j_titlee[0]);
         biceg[3] -= btnt;
      }
         register_gS[1] ^= 2 & j_titlee[8];
      do {
         biceg[8] |= nav2.count + 1;
         if (urln == 1440786.f) {
            break;
         }
      } while ((urln == 1440786.f) && ((1 ^ biceg[4]) <= 4 && 5 <= (1 ^ biceg[4])));
      while ((j_titlee[8] - 5) > 5) {
         long number7 = sizeof(o_count9) / sizeof(o_count9[0]);
         j_titlee[2] |= register_gS[1] / (MAX(8, number7));
         break;
      }
      while (3 == (j_titlee[2] * nav2.count) && (3 * nav2.count) == 4) {
         break;
      }
      while (o_count9[1] == 3) {
         long return_3D = sizeof(biceg) / sizeof(biceg[0]);
         o_count9[7] -= 2 << (MIN(5, labs(return_3D)));
         break;
      }
       int real9 = 1;
       int temp2 = 2;
       float realo = 0.0f;
       float try_o5 = 4.0f;
      if (5 == (5 % (MAX(10, nav2.count))) && (nav2.count % (MAX(biceg[10], 1))) == 5) {
          BOOL register_1if = YES;
          char btno[] = {64,(char)-107,(char)-19,(char)-54};
          NSString * y_centerO = @"serialization";
          double curJ = 1.0f;
          BOOL tempo = YES;
         real9 -= nav2.count;
         register_1if = register_1if && curJ <= 36.75f;
         btno[0] |= (int)curJ + 3;
         curJ += y_centerO.length;
         long logsz = sizeof(btno) / sizeof(btno[0]);
         tempo = (logsz * 4) > 91;
         curJ /= MAX(4, 1 + y_centerO.length);
      }
      three1[6] /= MAX(nav2.count, 2);
      if (432671.f == urln) {
         break;
      }
   } while ((3 == (4 * three1[9])) && (432671.f == urln));

   if (@available(iOS 13.0, *)) {
       NSSet *temp6 = [UIApplication sharedApplication].connectedScenes;
       NSDictionary * logs2 = [NSDictionary dictionaryWithObjectsAndKeys:@"aandcttab",@(5102), nil];
      for (int z = 0; z < 3; z++) {
      }
      urln *= 3 + logs2.count;
       double temp5 = 1.0f;
       float homey = 5.0f;
      while (homey >= 2.43f) {
         homey += (int)homey;
         break;
      }
         homey /= MAX(2, 2);
      do {
          long nnewsN = 4;
         homey += nnewsN & (int)homey;
         if (461166.f == homey) {
            break;
         }
      } while ((homey >= 4.92f) && (461166.f == homey));
      do {
         temp5 *= (int)homey;
         if (temp5 == 1400829.f) {
            break;
         }
      } while ((temp5 == 1400829.f) && ((homey / (MAX(temp5, 6))) <= 3.60f && (homey / (MAX(temp5, 6))) <= 3.60f));
         temp5 += 2;
      do {
          NSInteger datau = 3;
          unsigned char datao[] = {51,41,182,255,92,151,75,156,26,129,212,107};
          int curn = 5;
          long screeni = 4;
         homey *= datau;
         datau += 3 * screeni;
         NSInteger infos = sizeof(datao) / sizeof(datao[0]);
         datao[4] >>= MIN(3, labs(curn ^ infos));
         NSInteger login3 = sizeof(datao) / sizeof(datao[0]);
         screeni >>= MIN(labs(login3), 3);
         if (4246792.f == homey) {
            break;
         }
      } while ((4246792.f == homey) && (4.75f > (temp5 * homey) || 3.91f > (4.75f * homey)));
      homey /= MAX(3, curl.count - 5);
       UIWindowScene *logs = [temp6 anyObject];
   for (int u = 0; u < 1; u++) {
       BOOL modityr = YES;
       double try_xvk = 1.0f;
       double modityW = 1.0f;
       char reqb[] = {(char)-112,(char)-55,84};
       float k_count2 = 1.0f;
         modityr = 64.87f > try_xvk && !modityr;
         modityr = modityr;
         long privacyn = sizeof(reqb) / sizeof(reqb[0]);
         try_xvk *= privacyn;
         reqb[2] |= (int)modityW;
          unsigned char f_viewO[] = {125,199,75};
          NSInteger privacyO = 3;
          int launchp = 3;
         k_count2 += 3;
         f_viewO[MAX(privacyO % 3, 2)] *= privacyO | f_viewO[2];
         launchp &= launchp;
          char adrso[] = {(char)-47,(char)-45};
          unsigned char loginD[] = {231,100,161,176,87,153,188,237,13,203,38};
         try_xvk -= 1;
         NSInteger timerU = sizeof(adrso) / sizeof(adrso[0]);
         adrso[0] /= MAX((3 + timerU) + loginD[5], 3);
         int banneV = sizeof(loginD) / sizeof(loginD[0]);
         loginD[5] <<= MIN(1, labs(banneV - 1));
          long cur5 = 0;
         modityW *= cur5;
      while ((reqb[1] % 3) < 1) {
         reqb[2] |= ((modityr ? 2 : 1) >> (MIN(labs((int)try_xvk), 3)));
         break;
      }
          double alert9 = 2.0f;
          double return_xh = 3.0f;
         k_count2 += 3 * (int)return_xh;
         alert9 /= MAX((int)alert9, 3);
         return_xh -= (int)alert9;
      do {
          NSArray * vnewsw = @[@(635), @(80), @(720)];
          NSDictionary * cur0 = @{@"released":@[@(366), @(352), @(484)]};
          long reloadU = 1;
          double req5 = 0.0f;
         k_count2 *= cur0.allValues.count | (int)req5;
         reloadU &= vnewsw.count ^ 3;
         reloadU |= cur0.count;
         req5 *= reloadU;
         if (k_count2 == 985201.f) {
            break;
         }
      } while ((k_count2 == 985201.f) && (2.12f > k_count2));
      do {
          double banne_ = 4.0f;
          double screenk = 1.0f;
          long acrossJ = 5;
          char counterL[] = {(char)-72,73,83};
          unsigned char urlX[] = {193,240};
         try_xvk += 3;
         banne_ /= MAX((int)banne_, 2);
         long rewardn = sizeof(urlX) / sizeof(urlX[0]);
         screenk /= MAX(rewardn & (int)banne_, 3);
         acrossJ -= (int)screenk / 1;
         counterL[1] &= (int)screenk - acrossJ;
         if (try_xvk == 3861296.f) {
            break;
         }
      } while (((modityW / 5) <= 1.14f) && (try_xvk == 3861296.f));
      for (int w = 0; w < 3; w++) {
         modityW *= (int)modityW / (MAX(reqb[0], 6));
      }
      while (2 >= reqb[0]) {
         reqb[0] += ((modityr ? 4 : 3) % (MAX((int)try_xvk, 1)));
         break;
      }
      for (int y = 0; y < 2; y++) {
          unsigned char rewardnc[] = {231,21,91,23,116,249,253,133,178,185};
          NSArray * znews7 = @[@(9521.0)];
          unsigned char btnS[] = {24,200,205,152,77,83,124,74,163};
         try_xvk *= znews7.count;
         long reloadr = sizeof(btnS) / sizeof(btnS[0]);
         rewardnc[0] <<= MIN(labs((1 + reloadr) | rewardnc[0]), 5);
      }
         modityr = try_xvk > 57;
      try_xvk += curl.count;
   }
       return logs.windows.firstObject.safeAreaInsets.top;
   } else if (@available(iOS 11.0, *)) {
       return [UIApplication sharedApplication].windows.firstObject.safeAreaInsets.top;
   }
   return 0;
}


- (void)rewardedVideoDidEndPlayingForPlacementID:(NSString*)placementID extra:(NSDictionary *)extra {
      __block BOOL delegate_mjq = NO;
   __block long logsu = 0;
   do {
      delegate_mjq = logsu > 6 || delegate_mjq;
      if (delegate_mjq ? !delegate_mjq : delegate_mjq) {
         break;
      }
   } while ((delegate_mjq ? !delegate_mjq : delegate_mjq) && (!delegate_mjq));
      delegate_mjq = 55 < logsu;
       int requesta = 4;
       double banneF = 0.0f;
       NSArray * numberk = [NSArray arrayWithObjects:@{@"compensated":@(370), @"downloadable":@(155).stringValue}, nil];
         requesta += numberk.count;
      while ((numberk.count - requesta) == 2 && 2 == (numberk.count - requesta)) {
         requesta &= 4 | numberk.count;
         break;
      }
      do {
          NSInteger yesw = 2;
          float tempn = 0.0f;
          unsigned char againd[] = {67,218,19,127,233,19,42};
          long tempC = 2;
          char datas[] = {55,42,(char)-65,33,(char)-70,121,37,(char)-31,(char)-120,(char)-85,(char)-89};
         banneF /= MAX(5, (int)banneF * yesw);
         long progK = sizeof(againd) / sizeof(againd[0]);
         yesw &= progK | (int)tempn;
         NSInteger w_view7 = sizeof(againd) / sizeof(againd[0]);
         tempn += tempC / (MAX(w_view7, 9));
         tempC /= MAX(5, againd[1] + tempC);
         datas[MAX(tempC % 11, 10)] /= MAX(4, datas[8]);
         if (banneF == 2676746.f) {
            break;
         }
      } while ((banneF == 2676746.f) && ((1.11f + banneF) < 1.84f && (numberk.count & 4) < 4));
       char main_b8[] = {94,25,(char)-34,(char)-69,10,69,(char)-101,(char)-80,74,51};
       char threeg[] = {2,110,88,4,76,105,(char)-35,92,39};
          double b_titlej = 1.0f;
          NSString * bannee = @"restrict";
          long w_viewn = 1;
         main_b8[3] += bannee.length;
         b_titlej += w_viewn * (int)b_titlej;
         w_viewn ^= bannee.length;
          double buttonm = 4.0f;
          NSString * acrossS = @"checks";
         main_b8[MAX(1, requesta % 10)] -= acrossS.length;
         buttonm *= (int)buttonm | (int)buttonm;
         buttonm *= acrossS.length;
         requesta += numberk.count;
      for (int x = 0; x < 3; x++) {
         threeg[0] *= (int)banneF % 1;
      }
      do {
         threeg[MAX(requesta % 9, 7)] &= requesta;
         if (delegate_mjq ? !delegate_mjq : delegate_mjq) {
            break;
         }
      } while (((threeg[1] >> (MIN(labs(3), 4))) == 1) && (delegate_mjq ? !delegate_mjq : delegate_mjq));
      delegate_mjq = requesta >= 8;
   while (5 <= logsu) {
      delegate_mjq = logsu < 77 || !delegate_mjq;
      break;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(null_unspecified WKNavigation *)navigation withError:(NSError *)error {
       BOOL moditys = YES;
    int main_fK = 2;
      moditys = 57 > main_fK && moditys;
      main_fK /= MAX(1, main_fK * 2);
      moditys = !moditys && 36 >= main_fK;

    [self.view_web reload];
}


- (void)rewardedVideoDidCloseForPlacementID:(NSString*)placementID rewarded:(BOOL)rewarded extra:(NSDictionary *)extra {
      __block NSString * vodo = @"bwdif";
   __block int return_fu2 = 3;
      return_fu2 <<= MIN(labs(([vodo isEqualToString: [NSString stringWithUTF8String:(char []){101,0}]] ? vodo.length : return_fu2)), 2);
   while (2 == (vodo.length >> (MIN(labs(2), 1)))) {
       unsigned char req1[] = {6,191,157,62,119};
       int request6 = 4;
       BOOL bicep = YES;
       long editK = 1;
      do {
          unsigned char q_viewU[] = {119,210};
          double vod8 = 2.0f;
          NSInteger bnewsd = 0;
          NSDictionary * try__A = [NSDictionary dictionaryWithObjectsAndKeys:@"filtering",@(171).stringValue, @"strnicmp",@(20), nil];
         request6 -= 2 + bnewsd;
         q_viewU[1] &= try__A.count % 1;
         vod8 -= (int)vod8 ^ 1;
         bnewsd -= (int)vod8 & try__A.allKeys.count;
         if (1282378 == request6) {
            break;
         }
      } while ((1282378 == request6) && ((1 & request6) > 1 && !bicep));
         req1[2] += editK;
         req1[4] ^= 1 * request6;
         request6 &= 1;
      if (!bicep) {
         int timero = sizeof(req1) / sizeof(req1[0]);
         bicep = (timero / (MAX(31, 2))) >= 82;
      }
       char editx[] = {99,(char)-102,39,(char)-112,(char)-26,16,(char)-97};
       char register_36[] = {40,(char)-84,(char)-25,(char)-46,(char)-103,76};
      if (4 > editx[1]) {
          NSString * real_ = @"epzs";
          double register_1_F = 5.0f;
          BOOL screenz = YES;
          NSArray * requestl = [NSArray arrayWithObjects:@(523), @(84), @(635), nil];
          char anewsW[] = {(char)-94,25,(char)-85,(char)-46,(char)-88,(char)-28,79,60,(char)-97,46};
         long sizM = sizeof(editx) / sizeof(editx[0]);
         long b_title4 = sizeof(register_36) / sizeof(register_36[0]);
         request6 %= MAX(2, sizM - b_title4);
         register_1_F /= MAX(5, 5 - real_.length);
         register_1_F *= anewsW[8] | requestl.count;
         screenz = register_1_F <= requestl.count;
         anewsW[6] <<= MIN(3, labs(3));
         register_1_F += real_.length + 3;
      }
         NSInteger screenf = sizeof(register_36) / sizeof(register_36[0]);
         register_36[0] -= editx[2] ^ (1 + screenf);
         editx[MAX(editK % 7, 5)] -= 1;
         request6 <<= MIN(5, labs(req1[1]));
      while (3 >= request6) {
         request6 *= 1;
         break;
      }
       double adrsk = 2.0f;
       double threeQ = 2.0f;
      editK -= vodo.length >> (MIN(labs(1), 2));
      break;
   }
       NSInteger return_pfk = 0;
       NSArray * launch2 = [NSArray arrayWithObjects:@(YES), nil];
       BOOL yes_ = YES;
      if (yes_) {
         return_pfk += 2 + launch2.count;
      }
      do {
         return_pfk <<= MIN(2, launch2.count);
         if (launch2.count == 927531) {
            break;
         }
      } while ((launch2.count == 927531) && (2 >= (return_pfk << (MIN(labs(1), 4))) && (return_pfk << (MIN(launch2.count, 5))) >= 1));
         yes_ = 39 == return_pfk;
      if (launch2.count <= 2) {
         return_pfk <<= MIN(launch2.count, 1);
      }
      if ((launch2.count << (MIN(labs(1), 4))) < 5) {
          NSString * register_v_q = @"iscover";
          NSInteger privacyV = 1;
          unsigned char w_viewW[] = {145,102,234,112,192,96};
         yes_ = 6 <= (privacyV * return_pfk);
         privacyV >>= MIN(register_v_q.length, 2);
         w_viewW[3] ^= register_v_q.length * 1;
      }
          float launchE = 0.0f;
         return_pfk %= MAX(launch2.count, 5);
         launchE -= (int)launchE % (MAX((int)launchE, 2));
      do {
         yes_ = launch2.count == 59;
         if (yes_ ? !yes_ : yes_) {
            break;
         }
      } while ((yes_ ? !yes_ : yes_) && ((5 | return_pfk) > 1));
         return_pfk ^= launch2.count;
          NSString * time_epj = @"superset";
          NSArray * urlV = [NSArray arrayWithObjects:@"vaacalculation", @"fpel", nil];
         return_pfk >>= MIN(launch2.count, 1);
      return_pfk <<= MIN(4, labs(vodo.length % (MAX(3, 6))));

    dispatch_async(dispatch_get_main_queue(), ^{
        if (rewarded == NO) {
        }
    });
}


- (void)look_banne:(NSString *)plaID {
       double tempx = 5.0f;
    unsigned char alertT[] = {10,143,12,25,185,37,35,26,137,116,77,114};
   do {
      alertT[0] |= 3;
      if (1669512.f == tempx) {
         break;
      }
   } while (((tempx * alertT[5]) < 4 || (alertT[5] * tempx) < 4) && (1669512.f == tempx));

    if ([[ATAdManager sharedManager] bannerAdReadyForPlacementID:plaID]) {
        [self del_banne_view];
      tempx -= (int)tempx - alertT[11];
        ATBannerView *numberView1 = [[ATAdManager sharedManager] retrieveBannerViewForPlacementID:plaID];
        if (numberView1 != nil) {
            numberView1.delegate = self;
       float f_titleJ = 4.0f;
      do {
          double loginS = 2.0f;
          char counterV[] = {(char)-91,(char)-7,(char)-7,16,(char)-32,5,(char)-65,(char)-109,57,79};
          float try_3P = 2.0f;
          unsigned char rewardX[] = {142,154,142,94,26,28};
          int acrossX = 4;
         f_titleJ /= MAX(acrossX - 1, 4);
         loginS -= 3 + (int)try_3P;
         counterV[8] %= MAX(2, 1);
         try_3P += (int)loginS / 3;
         rewardX[2] ^= (int)try_3P;
         acrossX ^= (int)try_3P;
         if (580404.f == f_titleJ) {
            break;
         }
      } while (((5 - f_titleJ) >= 1.67f) && (580404.f == f_titleJ));
      for (int n = 0; n < 3; n++) {
         f_titleJ *= (int)f_titleJ;
      }
         f_titleJ /= MAX((int)f_titleJ % 1, 2);
      tempx *= (int)f_titleJ;
            numberView1.presentingViewController = self;
            numberView1.tag = 9527;
            numberView1.frame = CGRectMake(0, CGRectGetHeight(self.view.frame)-self.banne_siz.height, self.banne_siz.width, self.banne_siz.height);
            [self.view addSubview:numberView1];
        }
    }
}


- (void)look_reward_video_ad:(NSString *)plaID {
       unsigned char w_count0[] = {155,185,219,101,78,89,88,17,237,22};
    NSInteger modity2 = 2;
      w_count0[5] &= modity2 + 3;
   while (2 < (modity2 * 1)) {
      modity2 <<= MIN(4, labs(modity2));
      break;
   }

    [SVProgressHUD dismiss];
    if ([[ATAdManager sharedManager] rewardedVideoReadyForPlacementID:plaID]) {
        ATShowConfig *inter = [ATShowConfig new];
        [[ATAdManager sharedManager] showRewardedVideoWithPlacementID:plaID
                                                               config:inter
                                                     inViewController:[self w_1].rootViewController
                                                             delegate:self];
   for (int l = 0; l < 2; l++) {
       double modityu = 0.0f;
       int threeb = 0;
       char modityk[] = {103,(char)-43,(char)-81,81,(char)-121,3,110,108,(char)-65,102,96};
         modityk[MAX(2, threeb % 11)] >>= MIN(4, labs((int)modityu | 3));
         threeb /= MAX(4, threeb << (MIN(labs(modityk[8]), 2)));
       double loginZ = 4.0f;
       double editC = 3.0f;
          char znewsE[] = {80,(char)-123};
         loginZ /= MAX(1, 5);
         NSInteger m_centerA = sizeof(znewsE) / sizeof(znewsE[0]);
         znewsE[0] *= znewsE[1] - m_centerA;
         int biceX = sizeof(modityk) / sizeof(modityk[0]);
         editC *= (int)editC * biceX;
       double tempO = 3.0f;
          char aboutU[] = {(char)-126,(char)-119};
         modityu -= (int)editC / 2;
         NSInteger requestg = sizeof(aboutU) / sizeof(aboutU[0]);
         aboutU[0] ^= 2 & requestg;
      while (modityk[5] >= loginZ) {
          char real8[] = {65,38,(char)-40,(char)-66,112,(char)-127,(char)-33,(char)-78,(char)-10,33,106,40};
          unsigned char yesl[] = {235,134,196,227,203,209,162,70,249,64,162};
          double infoj = 1.0f;
         loginZ += 2 + (int)loginZ;
         real8[7] += (int)infoj;
         int pnewsB = sizeof(real8) / sizeof(real8[0]);
         int realx = sizeof(yesl) / sizeof(yesl[0]);
         yesl[8] += pnewsB ^ realx;
         infoj /= MAX(5, 3 ^ (int)infoj);
         break;
      }
         loginZ /= MAX(2 * (int)tempO, 1);
      modity2 ^= 3;
   }
       NSInteger main_kH = 4;
       float return_cT = 1.0f;
       unsigned char logsk[] = {203,117,142,134,41,65,130,67,81,67};
      while ((main_kH ^ 3) < 3) {
         return_cT += main_kH + 1;
         break;
      }
      for (int h = 0; h < 2; h++) {
         main_kH %= MAX(3, 2);
      }
      do {
         logsk[0] <<= MIN(5, labs(3));
         if (modity2 == 3941042) {
            break;
         }
      } while ((modity2 == 3941042) && (1 < (5 * return_cT) || (5 + logsk[7]) < 4));
         return_cT *= 2 | logsk[0];
      do {
         main_kH += main_kH | (int)return_cT;
         if (main_kH == 3901971) {
            break;
         }
      } while (((4 - main_kH) < 3 && 3 < (main_kH - 4)) && (main_kH == 3901971));
      for (int h = 0; h < 3; h++) {
          NSInteger threebK = 4;
          int timer0 = 0;
          char lbly[] = {44,61,(char)-111,(char)-37,10};
         logsk[MAX(9, main_kH % 10)] += logsk[3] << (MIN(4, labs(main_kH)));
         threebK &= 1 - threebK;
         timer0 >>= MIN(4, labs(2));
         lbly[MAX(threebK % 5, 3)] += lbly[1];
      }
      if ((2 & main_kH) >= 3) {
          NSDictionary * interl = [NSDictionary dictionaryWithObjectsAndKeys:@"finalized",@(942), @"sbcdec",@(113), @"than",@(138), nil];
          NSString * reloadA = @"lmlm";
          NSDictionary * acrosst = @{@"relock":@(4752)};
          int time_1p = 3;
         main_kH <<= MIN(labs(interl.allValues.count + 2), 5);
         time_1p *= interl.count;
         time_1p >>= MIN(reloadA.length, 3);
         time_1p += acrosst.count | 3;
         time_1p *= reloadA.length;
         time_1p *= acrosst.count;
      }
         main_kH *= 2 >> (MIN(labs(main_kH), 3));
         main_kH -= 3 + logsk[4];
      w_count0[2] %= MAX(5, (int)return_cT * 1);
    }
}


- (void)webView:(WKWebView *)webView runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL))completionHandler {
      __block long urlf = 4;
   __block double type_eI = 2.0f;
       NSArray * opens = [NSArray arrayWithObjects:@(785), @(10), nil];
       double lay0 = 1.0f;
      do {
         lay0 += opens.count;
         if (3152369 == opens.count) {
            break;
         }
      } while ((lay0 > 5.63f) && (3152369 == opens.count));
       float launchl = 0.0f;
       float try_iB = 1.0f;
         launchl += (int)lay0 + 1;
          unsigned char infod[] = {217,17,66,34,111,116,240};
          NSDictionary * u_viewj = [NSDictionary dictionaryWithObjectsAndKeys:@"job",@(637).stringValue, @"specification",@(594), @"system",@(85), nil];
          NSArray * type_00 = @[@(313), @(612)];
         launchl += 2;
         infod[2] += 1 % (MAX(8, infod[1]));
          NSInteger reloadt = 2;
          long requestw = 2;
          double privacyC = 0.0f;
         try_iB *= requestw;
         reloadt |= reloadt ^ 3;
         requestw ^= reloadt & 2;
         privacyC /= MAX(1, reloadt);
         lay0 *= (int)try_iB;
      urlf >>= MIN(5, opens.count);

    UIAlertController *aboutControllerE = [UIAlertController alertControllerWithTitle:@"提示" message:message ? : @"" preferredStyle:UIAlertControllerStyleAlert];
    
    UIAlertAction * try_a8 = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        completionHandler(NO);
   for (int d = 0; d < 2; d++) {
       int layv = 1;
          unsigned char sizi[] = {95,21,124,26};
          int abouta = 3;
         layv <<= MIN(2, labs(layv));
         sizi[0] /= MAX(abouta * sizi[3], 3);
       long banne7 = 2;
       long return_kO = 3;
      do {
         layv *= layv;
         if (3890972 == layv) {
            break;
         }
      } while ((3890972 == layv) && ((layv ^ banne7) < 1));
      type_eI += 3;
   }
    }];
    
    UIAlertAction * banne = [UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        completionHandler(YES);
      urlf /= MAX(4, 2);
    }];
    
    [aboutControllerE addAction:try_a8];
    [aboutControllerE addAction:banne];
    
    [self presentViewController:aboutControllerE animated:YES completion:nil];
}


- (void)webViewWebContentProcessDidTerminate:(WKWebView *)webView {
       char navo[] = {42,6,18,88,(char)-45,92,(char)-7,(char)-90,12,118};
    NSString * delegate_eH = @"ints";
   for (int v = 0; v < 1; v++) {
      navo[5] ^= navo[5] - 1;
   }
      navo[5] <<= MIN(2, delegate_eH.length);
   while (delegate_eH.length == navo[7]) {
      break;
   }

    [self.view_web reload];
}

@end

@implementation HJGHomeScreenController (ppx)


- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSString *,id> *)change context:(void *)context{
      __block long navy = 0;
   __block NSDictionary * privacyV = @{@"vcombine":@(142).stringValue, @"logic":@(60)};
   if ([privacyV.allValues containsObject:@(navy)]) {
      navy ^= privacyV.count;
   }

    if ([keyPath isEqualToString:@"estimatedProgress"]) {
        self.prog_lay.opacity = 1;

        if ([change[@"new"] floatValue] < [change[@"old"] floatValue]) {
            return;
        }
        self.prog_lay.frame = CGRectMake(0, 0, self.view.bounds.size.width * [change[@"new"] floatValue], 5);
        if ([change[@"new"] floatValue] == 1) {
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.4 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                self.prog_lay.opacity = 0;
            });
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                self.prog_lay.frame = CGRectMake(0, 0, 0, 5);
            });
        }
        
        if ([change[@"new"] floatValue] > 0.5) {
            [self.view_web evaluateJavaScript:@"document.body.innerHTML" completionHandler:^(id _Nullable result, NSError * _Nullable error) {
                NSString *resultString = (NSString *)result;
                if (resultString.length == 0) {
                    [self.view_web reload];
   while ([privacyV.allKeys containsObject:@(navy)]) {
      navy *= privacyV.count;
      break;
   }
                    self.reloadButton.hidden = NO;
                } else {
                    self.reloadButton.hidden = YES;
                }
            }];
        }
        
    }  else if ([keyPath isEqualToString:@"title"]) {
        if (object == self.view_web) {
        }
        else {
            [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
      navy %= MAX(1, privacyV.count);
      navy >>= MIN(1, labs(privacyV.count % 2));
        }}
}


- (void)dealloc {
       double x_center9 = 3.0f;
    double u_centerS = 2.0f;
    long again7 = 5;
    int interU = 1;
      x_center9 += (int)x_center9;
       unsigned char delegate_6lo[] = {55,12,66,126,235,176,160,59,38,188,35};
       unsigned char btn4[] = {91,99,224,20,159,252,85,213,8,73,149,174};
       NSInteger threeN = 3;
      for (int p = 0; p < 2; p++) {
          float reald = 2.0f;
         threeN /= MAX(2, btn4[5] * threeN);
         reald *= (int)reald;
      }
      if (4 >= (btn4[3] * 1)) {
         btn4[7] *= delegate_6lo[10];
      }
         NSInteger navt = sizeof(delegate_6lo) / sizeof(delegate_6lo[0]);
         delegate_6lo[7] ^= navt;
         int lay_ = sizeof(delegate_6lo) / sizeof(delegate_6lo[0]);
         btn4[3] <<= MIN(labs(lay_ >> (MIN(3, labs(3)))), 4);
         int yes5 = sizeof(delegate_6lo) / sizeof(delegate_6lo[0]);
         threeN *= yes5;
         long logsf = sizeof(btn4) / sizeof(btn4[0]);
         btn4[MAX(2, threeN % 12)] |= logsf + 3;
         long alertt = sizeof(delegate_6lo) / sizeof(delegate_6lo[0]);
         delegate_6lo[6] >>= MIN(labs(btn4[8] >> (MIN(4, labs((3 + alertt))))), 5);
      do {
          double lblV = 5.0f;
          unsigned char againw[] = {236,12,161,204};
         long y_viewW = sizeof(delegate_6lo) / sizeof(delegate_6lo[0]);
         btn4[8] |= y_viewW % (MAX(3, btn4[6]));
         long biceB = sizeof(againw) / sizeof(againw[0]);
         lblV += biceB;
         if (x_center9 == 4890215.f) {
            break;
         }
      } while ((threeN <= btn4[5]) && (x_center9 == 4890215.f));
      do {
         int timerh = sizeof(btn4) / sizeof(btn4[0]);
         threeN /= MAX(2, timerh | delegate_6lo[10]);
         if (threeN == 1096944) {
            break;
         }
      } while ((2 <= (3 / (MAX(8, threeN))) && 3 <= (threeN / (MAX(btn4[0], 6)))) && (threeN == 1096944));
      u_centerS *= 1 % (MAX(7, threeN));
      u_centerS /= MAX(1, (int)u_centerS % (MAX(8, (int)x_center9)));
   if (4.0f < (x_center9 - u_centerS) || (x_center9 - 4.0f) < 3.64f) {
      u_centerS -= (int)u_centerS;
   }

    [self.view_web removeObserver:self forKeyPath:@"estimatedProgress"];
   while (2.15f < (x_center9 - interU) || 5.53f < (2.15f - x_center9)) {
       NSInteger infou = 1;
       NSString * realp = @"daubechies";
       int register_fte = 1;
       char data7[] = {76,(char)-2,(char)-83,113,(char)-109,(char)-52,48,26};
       NSInteger urlx = 1;
         infou |= infou;
          unsigned char curL[] = {24,249,57,52,144,116,253,93,232};
         urlx %= MAX(3, register_fte);
         int delegate_qb = sizeof(curL) / sizeof(curL[0]);
         curL[2] ^= delegate_qb ^ 1;
      do {
         urlx *= urlx;
         if (urlx == 1305912) {
            break;
         }
      } while ((urlx == 1305912) && ((data7[6] - urlx) == 4));
         urlx &= register_fte;
      while ([realp containsString:@(infou).stringValue]) {
         infou >>= MIN(labs(2 % (MAX(9, data7[1]))), 5);
         break;
      }
         infou ^= urlx;
      if ((realp.length / 5) < 2 || (data7[5] / 5) < 3) {
         infou /= MAX(1, realp.length);
      }
      for (int x = 0; x < 2; x++) {
         infou *= realp.length;
      }
      for (int f = 0; f < 2; f++) {
          unsigned char urlU[] = {1,12,205,113,80,250,168,13,111,101};
          char bnewsG[] = {(char)-55,49,30,(char)-28,(char)-56};
          unsigned char i_titled[] = {18,215,105,193};
          NSInteger loginb = 1;
         infou -= register_fte;
         urlU[4] >>= MIN(4, labs(loginb + 2));
         NSInteger u_titleO = sizeof(i_titled) / sizeof(i_titled[0]);
         bnewsG[0] <<= MIN(labs(u_titleO / (MAX(urlU[6], 5))), 3);
      }
       NSArray * homef = @[@{@"hints":@"collating"}];
       NSArray * layk = @[@"bytestring", @"numero"];
      while (![layk containsObject:@(infou)]) {
         infou += 3 >> (MIN(labs(register_fte), 2));
         break;
      }
         register_fte <<= MIN(realp.length, 1);
         register_fte <<= MIN(5, labs(3));
       float logsh = 5.0f;
       NSDictionary * vodZ = [NSDictionary dictionaryWithObjectsAndKeys:@"code",@(545).stringValue, nil];
      x_center9 -= 1;
      break;
   }
   while ((again7 - again7) <= 2 && 5 <= (again7 - 2)) {
      again7 %= MAX(5, again7 / (MAX(1, 8)));
      break;
   }
   for (int d = 0; d < 3; d++) {
      again7 /= MAX(5, again7 >> (MIN(3, labs(again7))));
   }
    [self.view_web removeObserver:self forKeyPath:@"title"];
}

@end
